Bonde is a library to bootstrap JavaScript callbacks within a HTML document.
It is an alternative to initialize JavaScript by binding callbacks to queries
for CSS classes or ids. Instead Bonde searches a HTML document for elements,
which have a attribute named data-module
, and then initializes prior
registered callbacks within a facade around the targeted HTML elements.
Download the production version or the development version.
Clone the git repository from Github.
$ npm install
$ grunt
$ grunt jasmine
$ grunt jsdoc
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!
(Nothing yet)
Copyright (c) 2013 Kristofer Walters Licensed under the MIT license.