bindable-model

0.1.24 • Public • Published

Alt ci

Example

Models:

 
 
var Person = model.Model.extend({
  sync: function (type, next) {
    if(type == "load") {
      // load something
    } else if(type == "save") {
      // save something
    }
  }
}); 
 
var p = new Person();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.24
    7
    • latest

Version History

Package Sidebar

Install

npm i bindable-model

Weekly Downloads

4

Version

0.1.24

License

BSD

Last publish

Collaborators

  • architectd
  • crcn