/backbone.layoutmanager

A layout and template manager for Backbone.js applications.

Primary LanguageJavaScriptMIT LicenseMIT

LayoutManager

Stable: 0.9.3

Build Status Dependency Status Coverage Status

Maintained by Tim Branyen @tbranyen, Mike Pennisi @jugglinmike, Simon Boudrias @SBoudrias, and @ssafejava with help from awesome contributors!

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.

Documentation

http://layoutmanager.org/

Migrating from 0.8

http://layoutmanager.org/From-0.8-to-0.9

Release notes

  • Style/spelling updates to markdown files.
  • Broke out _viewRender and _applyTemplate from their closures and exposed them on the LM object.
  • Parsing with $.parseHTML to allow leading whitespace and retain whitespace in templates.
  • Using Bower to manage testing depenencies.
  • Fixes for Underscore 1.5.

Full Release Log

Contributing

Please read and follow the contribution guide before contributing.

Running the unit tests

Open test/index.html in your browser to run the test suite.

Headless:

Install Node.js, Grunt.js 0.4, and run npm install -q inside the project directory.

Make sure you've installed grunt-cli globally with:

npm install grunt-cli -gq

Run grunt inside a terminal in the project directory to run the tests in both a headless browser and Node.js environment.