backbone-identity-map
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -40,3 +40,3 @@ (function (root, factory) { | ||
this.cache.init('BBidentityMap', stores) | ||
this.cache.init(opts.name || 'BBidentityMap', stores) | ||
}; | ||
@@ -74,5 +74,5 @@ | ||
next(fetchedCollections); | ||
} else { | ||
this.find(collectionKeys[i], loop.bind(this)); | ||
} | ||
this.find(collectionKeys[i], loop.bind(this)); | ||
} | ||
@@ -87,3 +87,3 @@ }; | ||
if (!res || !res.length) { | ||
collection = this._eagerlyFetchCollection(collection); | ||
collection = _this._eagerlyFetchCollection(collection); | ||
collection.models.forEach(function(model) { | ||
@@ -90,0 +90,0 @@ _this.cache.put(collectionKey, model.toJSON()); |
{ | ||
"name": "backbone-identity-map", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Identity map implementation for BackboneJS. Uses IndexDB to cache objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8589
189