Whoopse
This commit is contained in:
parent
798ab20f35
commit
27f642c3b8
@ -8782,7 +8782,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
disconnect: function() {
|
disconnect: function() {
|
||||||
var el, entry, input, _i, _len, _ref;
|
var el, entry, input, name, _i, _j, _len, _len1, _ref, _ref1;
|
||||||
if (Conf['Updater and Stats in Header']) {
|
if (Conf['Updater and Stats in Header']) {
|
||||||
Header.rmShortcut(this.dialog);
|
Header.rmShortcut(this.dialog);
|
||||||
} else {
|
} else {
|
||||||
@ -8802,11 +8802,11 @@
|
|||||||
}
|
}
|
||||||
$.off(this.settings, 'click', this.intervalShortcut);
|
$.off(this.settings, 'click', this.intervalShortcut);
|
||||||
$.event('rmMenuEntry', this.entry);
|
$.event('rmMenuEntry', this.entry);
|
||||||
delete this.checkPostCount;
|
_ref1 = ['checkPostCount', 'timer', 'status', 'isUpdating', 'entry', 'dialog', 'thread', 'root', 'lastPost', 'outdateCount', 'online'];
|
||||||
delete this.timer;
|
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
||||||
delete this.status;
|
name = _ref1[_j];
|
||||||
delete this.isUpdating;
|
delete this[name];
|
||||||
delete this.entry;
|
}
|
||||||
return Thread.callbacks.rm('Thread Updater');
|
return Thread.callbacks.rm('Thread Updater');
|
||||||
},
|
},
|
||||||
node: function() {
|
node: function() {
|
||||||
|
|||||||
@ -8765,7 +8765,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
disconnect: function() {
|
disconnect: function() {
|
||||||
var el, entry, input, _i, _len, _ref;
|
var el, entry, input, name, _i, _j, _len, _len1, _ref, _ref1;
|
||||||
if (Conf['Updater and Stats in Header']) {
|
if (Conf['Updater and Stats in Header']) {
|
||||||
Header.rmShortcut(this.dialog);
|
Header.rmShortcut(this.dialog);
|
||||||
} else {
|
} else {
|
||||||
@ -8785,11 +8785,11 @@
|
|||||||
}
|
}
|
||||||
$.off(this.settings, 'click', this.intervalShortcut);
|
$.off(this.settings, 'click', this.intervalShortcut);
|
||||||
$.event('rmMenuEntry', this.entry);
|
$.event('rmMenuEntry', this.entry);
|
||||||
delete this.checkPostCount;
|
_ref1 = ['checkPostCount', 'timer', 'status', 'isUpdating', 'entry', 'dialog', 'thread', 'root', 'lastPost', 'outdateCount', 'online'];
|
||||||
delete this.timer;
|
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
||||||
delete this.status;
|
name = _ref1[_j];
|
||||||
delete this.isUpdating;
|
delete this[name];
|
||||||
delete this.entry;
|
}
|
||||||
return Thread.callbacks.rm('Thread Updater');
|
return Thread.callbacks.rm('Thread Updater');
|
||||||
},
|
},
|
||||||
node: function() {
|
node: function() {
|
||||||
|
|||||||
@ -82,11 +82,7 @@ ThreadUpdater =
|
|||||||
|
|
||||||
$.event 'rmMenuEntry', @entry
|
$.event 'rmMenuEntry', @entry
|
||||||
|
|
||||||
delete @checkPostCount
|
delete @[name] for name in ['checkPostCount', 'timer', 'status', 'isUpdating', 'entry', 'dialog', 'thread', 'root', 'lastPost', 'outdateCount', 'online']
|
||||||
delete @timer
|
|
||||||
delete @status
|
|
||||||
delete @isUpdating
|
|
||||||
delete @entry
|
|
||||||
|
|
||||||
Thread.callbacks.rm 'Thread Updater'
|
Thread.callbacks.rm 'Thread Updater'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user