theBeast is a mini-framework (1.5 KB minified) that lets you organize your javascript in modules, have them speak to each other and linked to the dom, greatly improving maintainability.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Add the js files in your HTML's head:

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

The basic syntax to add a module is the following:

  _moduleName_: function(){
    // do something here

If you then have a DOM element with the attribute data-theBeast="_moduleName_", the module will be loaded.

Tutorial and more features: here.