lib-mootools

1.0.1 • Public • Published

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.

/lib-mootools/

    Package Sidebar

    Install

    npm i lib-mootools

    Weekly Downloads

    1

    Version

    1.0.1

    License

    (c) the Danish Broadcasting Corporation. All rights reserved.

    Last publish

    Collaborators

    • ojoo