Have a problem? Come chat with us!
Provides a logical foundation for assembling layouts and views within Backbone. Designed to be adaptive and configurable for painless integration. Well tested, with full code coverage, in both the browser and Node.js environments.
Depends on Underscore, Backbone, and jQuery. You can swap out the dependencies with a custom configuration.
Migrating from 0.8
- Full Browserify support.
- The options object is now cloned when passed into a Layout.
- Fixes a bug with
setViewremoving deeply nested views.
- Fixes compatibility with Backbone Epoxy.
- Fixes a bug where a removed view could still be rendered asynchronously.
renderViewsnow accepts an array of Views to render batched.
- Added an
emptyevent that triggers when all Views are removed from a parent.
Please read and follow the contribution guide before contributing.
Running the unit tests
test/index.html in your browser to run the test suite.
Make sure you've installed
grunt-cli globally with:
npm install grunt-cli -gq
grunt inside a terminal in the project directory to run the tests in both
a headless browser and Node.js environment.