removing a few debug logs
This commit is contained in:
parent
4ec46f463b
commit
9604594a29
3 changed files with 0 additions and 6 deletions
|
@ -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]);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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('----------------------------------');
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue