Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Release version 1.0.1

  • Loading branch information...
commit 09b19e4ed5c26a6b61c6cdac4580678f8d68359b 1 parent a5d48f2
@nilbus authored
View
4 README.md
@@ -1,5 +1,5 @@
-Backbone dualStorage Adapter v1.0
-=================================
+Backbone dualStorage Adapter v1.0.1
+===================================
A dualStorage adapter for Backbone. It's a drop-in replacement for Backbone.Sync() to handle saving to a localStorage database as a cache for the remote models.
View
9 backbone.dualstorage.coffee
@@ -1,7 +1,10 @@
+###
+Backbone dualStorage Adapter v1.0.1
-# A simple module to replace `Backbone.sync` with *localStorage*-based
-# persistence. Models are given GUIDS, and saved into a JSON object. Simple
-# as that.
+A simple module to replace `Backbone.sync` with *localStorage*-based
+persistence. Models are given GUIDS, and saved into a JSON object. Simple
+as that.
+###
# Make it easy for collections to sync dirty and destroyed records
# Simply call collection.syncDirtyAndDestroyed()
View
11 backbone.dualstorage.js
@@ -1,6 +1,15 @@
// Generated by CoffeeScript 1.3.3
-(function() {
+/*
+Backbone dualStorage Adapter v1.0.1
+
+A simple module to replace `Backbone.sync` with *localStorage*-based
+persistence. Models are given GUIDS, and saved into a JSON object. Simple
+as that.
+*/
+
+
+(function() {
var S4, backboneSync, callbackTranslator, dualsync, localsync, onlineSync, parseRemoteResponse, result;
Backbone.Collection.prototype.syncDirty = function() {
View
7 spec/backbone.dualstorage.js
@@ -1,4 +1,11 @@
// Generated by CoffeeScript 1.3.3
+/*
+Backbone dualStorage Adapter v1.0.1
+
+A simple module to replace `Backbone.sync` with *localStorage*-based
+persistence. Models are given GUIDS, and saved into a JSON object. Simple
+as that.
+*/
var S4, backboneSync, callbackTranslator, dualsync, localsync, onlineSync, parseRemoteResponse, result;
Please sign in to comment.
Something went wrong with that request. Please try again.