Skip to content

codegile/backbone-model-save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backbone-model-save

0.1.2

Tested with Backbone 1.1.0 only

This extension of Backbone allows you to specify model attributes that won't be sent to the server along with a .save()

var myModel = new Backbone.ModelSave.extend({
    notSync: ['name', 'age']
});

Install

bower install backbone-model-save
git clone https://github.com/lupugabriel1/backbone-model-save

License

MIT

About

Allow backbone models to send only specific attributes to server when saving.

Resources

License

Stars

Watchers

Forks

Packages

No packages published