shared-store
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -0,1 +1,5 @@ | ||
1.0.7 | ||
----- | ||
* fix fetching data from cache with init - @chkhoo #12 | ||
1.0.6 | ||
@@ -2,0 +6,0 @@ ----- |
@@ -101,2 +101,7 @@ // Generated by CoffeeScript 1.9.0 | ||
return function(resolve, reject) { | ||
var current; | ||
current = _this.getCurrent(); | ||
if (current != null) { | ||
return resolve(current); | ||
} | ||
return _this.stream.take(1).map(property('data')).subscribe(resolve, reject); | ||
@@ -103,0 +108,0 @@ }; |
{ | ||
"name": "shared-store", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Keeping config data in sync", | ||
@@ -5,0 +5,0 @@ "main": "lib/shared-store.js", |
@@ -85,2 +85,5 @@ # shared-store | ||
Note that cached data could be returned in the callback/promise if it already | ||
exists. | ||
`SharedStore` does not interpret `options` in any way, | ||
@@ -87,0 +90,0 @@ it is just forwarded to the loader. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
92243
1065
232