diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 1bbd76b04..6b21fcf3e 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -111,6 +111,20 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; + Array.prototype.indexOf = function(val) { + var i; + + i = this.length; + while (i--) { + if (this[i] === val) { + return i; + } + } + return i; + }; + + __indexOf = [].indexOf; + Config = { main: { 'Miscellaneous': { @@ -821,20 +835,6 @@ return __slice.call(root.querySelectorAll(selector)); }; - Array.prototype.indexOf = function(val) { - var i; - - i = this.length; - while (i--) { - if (this[i] === val) { - return i; - } - } - return i; - }; - - __indexOf = [].indexOf; - Board = (function() { Board.prototype.toString = function() { return this.ID; diff --git a/builds/crx/script.js b/builds/crx/script.js index c08faf62a..11e028f82 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -89,6 +89,20 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; + Array.prototype.indexOf = function(val) { + var i; + + i = this.length; + while (i--) { + if (this[i] === val) { + return i; + } + } + return i; + }; + + __indexOf = [].indexOf; + Config = { main: { 'Miscellaneous': { @@ -828,20 +842,6 @@ return __slice.call(root.querySelectorAll(selector)); }; - Array.prototype.indexOf = function(val) { - var i; - - i = this.length; - while (i--) { - if (this[i] === val) { - return i; - } - } - return i; - }; - - __indexOf = [].indexOf; - Board = (function() { Board.prototype.toString = function() { return this.ID; diff --git a/src/General/cheats.coffee b/src/General/Cheats.coffee similarity index 100% rename from src/General/cheats.coffee rename to src/General/Cheats.coffee