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

Henry Castro hcastro at collabora.com
Mon Nov 28 03:04:52 UTC 2016


 loleaflet/src/control/Control.CharacterMap.js |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 2c2d4601729509ab8d9ac6bbcde3d8330d43c58c
Author: Henry Castro <hcastro at collabora.com>
Date:   Sun Nov 27 23:06:58 2016 -0400

    loleaflet: forgot remove console.log
    
    only debugging purpose

diff --git a/loleaflet/src/control/Control.CharacterMap.js b/loleaflet/src/control/Control.CharacterMap.js
index c17c443..3ec35ee 100644
--- a/loleaflet/src/control/Control.CharacterMap.js
+++ b/loleaflet/src/control/Control.CharacterMap.js
@@ -297,7 +297,6 @@ L.Control.CharacterMap = L.Control.extend({
 				img.src = L.Icon.Default.imagePath + '/loading.gif';
 				this.cacheGlyph[encodedFont + encodedChar] = img;
 				this._map._socket.sendMessage('renderfont font=' + encodedFont + ' char=' + encodedChar);
-				console.log('send=' + start.toString(16).toUpperCase() + ' encoded='  +encodedFont + encodedChar);
 			}
 			L.DomEvent.on(td, 'click', this._onSymbolClick, this);
 			L.DomEvent.on(td, 'dblclick', this._onSymbolDblClick, this);
@@ -442,8 +441,6 @@ L.Control.CharacterMap = L.Control.extend({
 	_onRenderFontPreview: function (e) {
 		if (this.cacheGlyph[e.font + e.char]) {
 			this.cacheGlyph[e.font + e.char].src = e.img;
-		} else {
-			console.log('failed to get font image' + e.font + e.char);
 		}
 	},
 


More information about the Libreoffice-commits mailing list