Make your Backbone models and collections Pebbles-powered
Node.js 0.8 or higher
Install module dependencies
$ npm install
Run tests
$ npm test
var pebblify = require("pebbles-backbone").pebblify;
var BlogPost = Backbone.Model.extend({
//...
});
pebblify(BlogPost).with({
namespace: "post",
connector: grove.connector
});
pebblify = require("pebbles-backbone").pebblify
class BlogPost extends Backbone.Model
pebblify(this).with
namespace: "post"
connector: grove.connector
#...