Modular DOM library


A modular (CommonJS based) JavaScript DOM library.

A completely modular collection of dom and ajax based utils for the browser, writting in node-style commonJS. This allows minifiers to pull only necessery code while giving the developer a variety of handy tools.

  • Modularity
  • No global namespace
  • No wrapper object
  • Independent modules
  • Well tested modules
  • Play well with other libraries

Cane uses Grunt to manage the development tasks. Tests are ran by the Karma test runner. To install all the development dependencies run npm install.

To run the tests once, simply run npm test in the root of the repository. You must have Chrome and Firefox installed. It will run JSHint on all the files and then launch Chrome and Firefox and run all the tests.

The documentation is generated from the Markdown files in the docs directory. To generate the docs run grunt docs. The docs are also automatically generated when you are running grunt (or npm start) and a file in the docs directory changes. The generated HTML files are stored in the docs_html directory.

Released under the MIT License