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.7
- Upgraded Cheerio dependency to v0.11.0.
- Many optimizations and fixes to
getViewsby @jugglinmike. This includes fixes for issues like
removeViewon an invalid selector.
cleanupis now called with the proper context.
- @SBoudrias added
.editconfigto ease development stress for our contributors.
- Fix provided by @adamdicarlo to fix a bug where re-rendering with empty rendered contents would not replace the existing content.
Please read and follow the contribution guide before contributing.
Running the unit tests in the browser
test/index.html in your favorite browser to ensure LayoutManager works
Running the unit tests headless
Make sure you've installed
grunt-cli globally with:
[sudo] npm install grunt-cli -g
grunt inside a terminal in the project directory to run the tests in both
a headless browser and Node.js environment.
I do my very best to ensure top quality and continued progress with LayoutManager. Developers using, but not contributing, may want to consider leaving a small donation to show their appreciation.
All funds collected will find their way to the mspca organization. Thanks! :)