mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Continued work in progress on a major revision of the NanoUI templating system.
This commit is contained in:
@@ -53,9 +53,8 @@ if (typeof doT == 'undefined') {
|
||||
// All scripts are initialised here, this allows control of init order
|
||||
$(document).ready(function () {
|
||||
NanoUtility.init();
|
||||
NanoStateManager.init();
|
||||
NanoTemplate.init();
|
||||
NanoBaseHelpers.init();
|
||||
NanoUpdate.init();
|
||||
});
|
||||
|
||||
if (!Array.prototype.indexOf)
|
||||
@@ -139,4 +138,11 @@ String.prototype.toTitleCase = function () {
|
||||
|
||||
$.ajaxSetup({
|
||||
cache: false
|
||||
});
|
||||
});
|
||||
|
||||
Function.prototype.inheritsFrom = function (parentClassOrObject) {
|
||||
this.prototype = new parentClassOrObject;
|
||||
this.prototype.constructor = this;
|
||||
this.prototype.parent = parentClassOrObject.prototype;
|
||||
return this;
|
||||
};
|
||||
Reference in New Issue
Block a user