ampersand-optimistic-sync
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "ampersand-optimistic-sync", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A sync wrapper for Backbone.sync and ampersand-sync that implements optimistic concurrency in HTTP.", | ||
@@ -20,3 +20,5 @@ "main": "index.js", | ||
"if-unmodified-since", | ||
"ampersandjs", | ||
"etag", | ||
"if-match", | ||
"ampersand", | ||
"backbone" | ||
@@ -23,0 +25,0 @@ ], |
@@ -30,3 +30,3 @@ ampersand-optimistic-sync | ||
If the update request returns a 412 error, a sync:invalid-version (args: model, version, data); | ||
If the update request returns a 412 error, a `sync:invalid-version (args: model, version, data)` event is fired. | ||
@@ -56,4 +56,4 @@ ### Customizing Behavior | ||
If config.invalidHandler is a function, it will be registered as a sync:invalid-version handler before your first update request is sent. | ||
If config.invalidHandler is a function, it will be registered as a `sync:invalid-version` handler before your first update request is sent. | ||
[1]: http://looselyconnected.wordpress.com/2010/03/25/the-http-etag-header-and-optimistic-locking-in-rest/ (The HTTP ETag header and optimistic locking in REST) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
78269
0