Loading template/js/functions.js +0 −16 Original line number Diff line number Diff line // Bunch of global functions and variables if (!Array.prototype.forEach) { Array.prototype.forEach = function(fun /*, thisp*/) { var len = this.length; if (typeof fun != "function") { throw new TypeError(); } var thisp = arguments[1]; for (var i = 0; i < len; i++) { if (i in this) { fun.call(thisp, this[i], i, this); } } }; } var classCache = {}; var getDocClass = function(cls, noHistory) { var member, Loading Loading
template/js/functions.js +0 −16 Original line number Diff line number Diff line // Bunch of global functions and variables if (!Array.prototype.forEach) { Array.prototype.forEach = function(fun /*, thisp*/) { var len = this.length; if (typeof fun != "function") { throw new TypeError(); } var thisp = arguments[1]; for (var i = 0; i < len; i++) { if (i in this) { fun.call(thisp, this[i], i, this); } } }; } var classCache = {}; var getDocClass = function(cls, noHistory) { var member, Loading