simple script-tag includes
JavaScript Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
Makefile
README.md
index.js
package.json

README.md

live-require

includes a script in a page

api

var liveRequire = require('live-require');

liveRequire(url, callback)

Add a script with a given URL to the page. Returns "loaded" if the script is already loaded, and calls callback after it has loaded for the first time.

license

BSD

See Also

maxogden's loadScript method also allows you to load JavaScript during runtime.