From 9604594a2977a70bbb29e27353bbd2ce911d0ad0 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Fri, 11 Jan 2013 11:30:32 +0100 Subject: [PATCH] removing a few debug logs --- lib/contacts.nsui.js | 1 - lib/ns_client.js | 1 - lib/options.js | 4 ---- 3 files changed, 6 deletions(-) diff --git a/lib/contacts.nsui.js b/lib/contacts.nsui.js index 107a77d..edcfd9b 100644 --- a/lib/contacts.nsui.js +++ b/lib/contacts.nsui.js @@ -62,7 +62,6 @@ ContactList.prototype.addContact = function(name) { }; ContactList.prototype.rmContact = function(name) { - console.log('removing ' + name + 'from contacts'); for (var i = this.lst.children.length - 1; i >= 0; --i) { if (this.lst.children[i].children[0].innerHTML === name) { this.lst.removeChild(this.lst.children[i]); diff --git a/lib/ns_client.js b/lib/ns_client.js index 028b9ad..1ff216a 100644 --- a/lib/ns_client.js +++ b/lib/ns_client.js @@ -35,7 +35,6 @@ var NsClient = function() { this.actions.msg.exp = /user_cmd (\d+):user:.*?:(.*?)@(.*?):.*?:(.*?):(.*?) \| msg ([^ ]*)/; this.actions.msg.is = (function(exp) { return function(msg) { - console.log(exp); return exp.exec(msg) !== null; }; })(this.actions.msg.exp); diff --git a/lib/options.js b/lib/options.js index 4893a56..fcb7c6a 100644 --- a/lib/options.js +++ b/lib/options.js @@ -116,9 +116,6 @@ OptionsManager.prototype.save = function() { OptionsManager.prototype.restore = function() { var i, el, cb = function(elem) { return function(items) { - console.log('----------------------------------'); - console.log('restoring...'); - console.log(items); for (i in items) { el = document.getElementById(i); if (el !== null) { @@ -126,7 +123,6 @@ OptionsManager.prototype.restore = function() { elem.setElemValue(el, items[i]); } } - console.log('----------------------------------'); }; };