Simplistic JavaScript script loader.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
local/js
static
.gitignore
README.md
index.html

README.md

Simplistic module loader. Right now it simply replaces series of HTML tags:

<script src="static/js/myscript.js" type="text/javascript">

with one-liner:

use('myscript');

It was intendet to help organize countless JS libraries and plugins, while maintaining clean DOM and scripts visible and debuggable in FireBug.

Portions (i.e. script loading) code borrowed from RequireJS project.