Muscle.js
A layer on top of Backbonejs to bring more control to views and a better integration between views and models/collections.
Totally integrated with browserify.
installing:
$ npm install muscle
using:
// require the libs var Backbone = ;var $ = Backbone$ = ;var Muscle = ; // create the model and collection var Book = BackboneModel;var Books = BackboneCollection; // create a model view var BookShow = MuscleModelView; var bookShow = model: name: 'Backbonejs is easy' author: 'unknown' ; // create a collection view var BookItem = MuscleModelView; var BookList = MuscleCollectionView; var bookList = collection: ;
building:
$ npm start
testing:
$ npm test