removing a few debug logs

This commit is contained in:
Rodolphe Breard 2013-01-11 11:30:32 +01:00
parent 4ec46f463b
commit 9604594a29
3 changed files with 0 additions and 6 deletions

View file

@ -62,7 +62,6 @@ ContactList.prototype.addContact = function(name) {
}; };
ContactList.prototype.rmContact = function(name) { ContactList.prototype.rmContact = function(name) {
console.log('removing ' + name + 'from contacts');
for (var i = this.lst.children.length - 1; i >= 0; --i) { for (var i = this.lst.children.length - 1; i >= 0; --i) {
if (this.lst.children[i].children[0].innerHTML === name) { if (this.lst.children[i].children[0].innerHTML === name) {
this.lst.removeChild(this.lst.children[i]); this.lst.removeChild(this.lst.children[i]);

View file

@ -35,7 +35,6 @@ var NsClient = function() {
this.actions.msg.exp = /user_cmd (\d+):user:.*?:(.*?)@(.*?):.*?:(.*?):(.*?) \| msg ([^ ]*)/; this.actions.msg.exp = /user_cmd (\d+):user:.*?:(.*?)@(.*?):.*?:(.*?):(.*?) \| msg ([^ ]*)/;
this.actions.msg.is = (function(exp) { this.actions.msg.is = (function(exp) {
return function(msg) { return function(msg) {
console.log(exp);
return exp.exec(msg) !== null; return exp.exec(msg) !== null;
}; };
})(this.actions.msg.exp); })(this.actions.msg.exp);

View file

@ -116,9 +116,6 @@ OptionsManager.prototype.save = function() {
OptionsManager.prototype.restore = function() { OptionsManager.prototype.restore = function() {
var i, el, cb = function(elem) { var i, el, cb = function(elem) {
return function(items) { return function(items) {
console.log('----------------------------------');
console.log('restoring...');
console.log(items);
for (i in items) { for (i in items) {
el = document.getElementById(i); el = document.getElementById(i);
if (el !== null) { if (el !== null) {
@ -126,7 +123,6 @@ OptionsManager.prototype.restore = function() {
elem.setElemValue(el, items[i]); elem.setElemValue(el, items[i]);
} }
} }
console.log('----------------------------------');
}; };
}; };