loleaflet/src/core/Socket.js |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit c15819cbe6fd33f58087a9932e16bfa87457605f
Author: Mihai Varga <mihai.va...@collabora.com>
Date:   Wed Sep 2 19:50:24 2015 +0300

    loleaflet: fixed typo and removed return value

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index b9bf086..781c25b 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -17,7 +17,6 @@ L.Socket = {
                this.socket.onopen = L.bind(this._onOpen, this);
                this.socket.onmessage = L.bind(this._onMessage, this);
                this.socket.binaryType = 'arraybuffer';
-               return this.socket;
        },
 
        close: function () {
@@ -29,7 +28,7 @@ L.Socket = {
        sendMessage: function (msg, coords) {
                var socketState = this.socket.readyState;
                if (socketState === 2 || socketState === 3) {
-                       this._socket = this.connect(this._map);
+                       this.connect(this._map);
                        this._msgQueue.push({msg: msg, coords: coords});
                }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to