[Libreoffice-commits] online.git: loleaflet/src

Henry Castro hcastro at collabora.com
Fri Jan 22 17:41:47 PST 2016


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

New commits:
commit 74b92c775c9376ebbae85777caf667122f6989aa
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 7ea1ce6..cbfb87c 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -42,8 +42,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