ScriptImporter
A slim script importer inspired by the importScripts function in web workers.
Installation
This module can be installed from npm.
$ npm install scriptimporter
Usage
; var scripts = "/js/myscript.js" "/js/foo.js" "/js/bar.js"; // A custom callback function. { console; } // The head DOM tag will be used internally to load the scripts,// so make sure that the page is done loading the DOM content!document;
Documentation
Contributing
Maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
License
Copyright (c) 2015 Raoul van Rüschen
Licensed under the Zlib license.