Model plugin that uses Firebase datasource
Install with component(1):
$ component install maiah/modelfire
var model = require('model'),
modelfire = require('modelfire');
var Person = model('Person')
.attr('name')
.attr('job')
.attr('address')
.use(modelfire('https://myapp.firebaseio.com/'));
var gohan = new Person();
Enables your model to use and bind to the specified firebaseLocation
.
MIT