Skip to content

StephenGrider/ampersand-sync-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ampersand-sync-promise

Standalone, modern-browser-only version of Backbone.Sync as Common JS module.

Use this instead of ampersand's standard sync to return a promise instead of an XHR object.

Uses the popular Q library for promise implementation

All credit to the original Ampersand JS team.

install

npm install ampersand-sync-promise

running the tests

npm test

Tests are written in tape and since they require a browser environment it gets run in a headless browser using phantomjs via tape-run. Make sure you have phantomjs installed for this to work.

You can also run npm start then open a browser.

license

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published