Haha oh woaw, -1 for.

This commit is contained in:
Nicolas Stepien 2011-10-09 23:32:33 +02:00
parent 2490b9c7d2
commit 5ed6057b50
2 changed files with 11 additions and 16 deletions

View File

@ -3002,7 +3002,7 @@
}; };
Main = { Main = {
init: function() { init: function() {
var callback, cutoff, hiddenThreads, id, lastChecked, now, op, table, timestamp, tzOffset, _i, _j, _k, _l, _len, _len2, _len3, _len4, _ref, _ref2, _ref3, _ref4, _ref5; var callback, cutoff, hiddenThreads, id, lastChecked, now, op, table, timestamp, tzOffset, _i, _j, _k, _len, _len2, _len3, _ref, _ref2, _ref3, _ref4;
$.unbind(document, 'DOMContentLoaded', Main.init); $.unbind(document, 'DOMContentLoaded', Main.init);
if (location.hostname === 'sys.4chan.org') { if (location.hostname === 'sys.4chan.org') {
QR.sys(); QR.sys();
@ -3131,21 +3131,17 @@
expandComment.init(); expandComment.init();
} }
} }
_ref2 = $$('div.op'); _ref2 = g.callbacks;
for (_i = 0, _len = _ref2.length; _i < _len; _i++) { for (_i = 0, _len = _ref2.length; _i < _len; _i++) {
op = _ref2[_i]; callback = _ref2[_i];
_ref3 = g.callbacks; _ref3 = $$('.op');
for (_j = 0, _len2 = _ref3.length; _j < _len2; _j++) { for (_j = 0, _len2 = _ref3.length; _j < _len2; _j++) {
callback = _ref3[_j]; op = _ref3[_j];
callback(op); callback(op);
} }
} _ref4 = $$('a + table');
_ref4 = $$('a + table'); for (_k = 0, _len3 = _ref4.length; _k < _len3; _k++) {
for (_k = 0, _len3 = _ref4.length; _k < _len3; _k++) { table = _ref4[_k];
table = _ref4[_k];
_ref5 = g.callbacks;
for (_l = 0, _len4 = _ref5.length; _l < _len4; _l++) {
callback = _ref5[_l];
callback(table); callback(table);
} }
} }

View File

@ -2369,11 +2369,10 @@ Main =
if conf['Comment Expansion'] if conf['Comment Expansion']
expandComment.init() expandComment.init()
for op in $$ 'div.op' for callback in g.callbacks
for callback in g.callbacks for op in $$ '.op'
callback op callback op
for table in $$ 'a + table' for table in $$ 'a + table'
for callback in g.callbacks
callback table callback table
$.bind $('form[name=delform]'), 'DOMNodeInserted', nodeInserted $.bind $('form[name=delform]'), 'DOMNodeInserted', nodeInserted
options.init() options.init()