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();

Readme

Keywords

none

Package Sidebar

Install

npm i bindable-model

Weekly Downloads

3

Version

0.1.24

License

BSD

Last publish

Collaborators

  • architectd
  • crcn