[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loleaflet/src

Henry Castro hcastro at collabora.com
Fri Jan 22 13:01:15 PST 2016


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

New commits:
commit 6b1257d176b5b92520fdc646f2e49e4ebb50a4c4
Author: Henry Castro <hcastro at collabora.com>
Date:   Fri Jan 22 16:58:30 2016 -0400

    loleaflet: fixed js lint errors in src/core/Socket.js

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index f6c031c..7499773 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -40,8 +40,9 @@ L.Socket = L.Class.extend({
 		else if (socketState === 1) {
 			this.socket.send(msg);
 			// Only attempt to log text frames, not binary ones.
-			if (typeof msg === 'string')
+			if (typeof msg === 'string') {
 				L.Log.log(msg, L.OUTGOING, coords);
+			}
 		}
 	},
 


More information about the Libreoffice-commits mailing list