native-document 1.0.220 → 1.0.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "native-document",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.221",
|
|
4
4
|
"description": "A reactive JavaScript framework that preserves native DOM simplicity without sacrificing modern features",
|
|
5
5
|
"author": "AfroCodeur <https://github.com/afrocodeur>",
|
|
6
6
|
"license": "MIT",
|
package/src/core/data/Store.js
CHANGED
|
@@ -472,7 +472,13 @@ export const StoreFactory = function() {
|
|
|
472
472
|
};
|
|
473
473
|
}
|
|
474
474
|
if (target.has(prop)) {
|
|
475
|
-
|
|
475
|
+
if ($followersCache.has(prop)) {
|
|
476
|
+
return $followersCache.get(prop);
|
|
477
|
+
}
|
|
478
|
+
const follower = target.follow(prop);
|
|
479
|
+
$followersCache.set(prop, follower);
|
|
480
|
+
|
|
481
|
+
return follower;
|
|
476
482
|
}
|
|
477
483
|
return target[prop];
|
|
478
484
|
},
|