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

Pranav Kant pranavk at collabora.co.uk
Mon Oct 24 10:57:22 UTC 2016


 loleaflet/src/layer/tile/TileLayer.js |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d50d3f5b775fe72879aebb623ade2ea7b326e9c9
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Mon Oct 24 16:26:35 2016 +0530

    loleaflet: Fix missing comma, semi-colons etc
    
    Change-Id: Ic47e6e44a83c43ff7aea840fb6b04d1ad7c4e4a2

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index cbea6e6..90dcc34 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1920,8 +1920,8 @@ L.TileLayer = L.GridLayer.extend({
 			var overlayMaps = {
 				'Tile overlays': this._debugInfo,
 				'Screen overlays': this._debugInfo2,
-				'Typing': this._debugTyper,
-			}
+				'Typing': this._debugTyper
+			};
 			L.control.layers({}, overlayMaps, {collapsed: false}).addTo(map);
 
 			this._map.on('layeradd', function(e) {
@@ -2025,7 +2025,7 @@ L.TileLayer = L.GridLayer.extend({
 					rect.setStyle({fillOpacity: opac - 0.04});
 				}
 			}
-			this._debugTimeoutId = setTimeout(function () { map._docLayer._debugTimeout() }, 50);
+			this._debugTimeoutId = setTimeout(function () { map._docLayer._debugTimeout(); }, 50);
 		}
 	},
 
@@ -2038,7 +2038,7 @@ L.TileLayer = L.GridLayer.extend({
 			this._postKeyboardEvent('input', this._debugLorem.charCodeAt(this._debugLoremPos % this._debugLorem.length), 0);
 		}
 		this._debugLoremPos++;
-		this._debugTypeTimeoutId = setTimeout(function () { map._docLayer._debugTypeTimeout() }, 50);
+		this._debugTypeTimeoutId = setTimeout(function () { map._docLayer._debugTypeTimeout(); }, 50);
 	}
 
 });


More information about the Libreoffice-commits mailing list