Port of dojo's dojo/store to be a self-contained data store usable anywhere you have AMD
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
lib
tests
util
Cache.js
JsonRest.js
LocalStorage.js
Memory.js
Observable.js
README.md
main.js
package.json

README.md

amd-store

amd-store is a port of the dojo/store collection of modules, adapted to extract the dojo dependencies and facilitate use as a library in applications employing AMD.

It has light dependencies, including some language utilities provided here in lib/util.js, as well as a Deferred/Promise implementation, provided in lib/Promise.js.

Testing

The tests have been ported to use Jasmine, with a node.js server implementation of the test.php script used to examine request/response behaviour. To run the tests:

node tests/server.js &
open http://localhost:8080/tests/SpecRunner.html