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.
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.
lib
test
README.md

README.md

Add the js files in your HTML's head:

<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.min.js"></script>
<script src="/theBeast.js" type="text/javascript"></script>

The basic syntax to add a module is the following:

theBeast.add({
  _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.