1.0.1 • Published 8 years ago
lib-mootools v1.0.1
lib-mootools
Mootools Core & More ported from Global Assets 004.
Usage
Install module:
npm install lib-mootools --save
Each file must be loaded individually using script-loader.
Load Mootools Core (e.g. 1.4.5) from module:
require("@dr/lib-mootools/core/1.4.5.js");
Load Mootools More (e.g. 1.4.0.1) from module:
require("@dr/lib-mootools/more/1.4.0.1.js");
Mootools must be loaded in the global scope and has no exports.
Maintenance
Adding new version of Mootools
Download the library to the lib/core folder. Add a loader script to the same folder, named with version of Mootools, containing:
if(!window.MooTools) {
require("script!../lib/mootools-core-1.4.5-full-nocompat.js");
}
mootools-core-1.4.5-full-nocompat.js
is replaced library file name.
1.0.1
8 years ago