kwltrs / bonde

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bonde

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

Download the production version or the development version.

Getting Started

Development

Clone the git repository from Github.

$ npm install
$ grunt
$ grunt jasmine
$ grunt jsdoc

Contributing

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!

Release History

(Nothing yet)

License

Copyright (c) 2013 Kristofer Walters Licensed under the MIT license.

About

License:MIT License


Languages

Language:JavaScript 100.0%