Skip to content

Commit

Permalink
make sure keeping track of changed computed properties (so they can d…
Browse files Browse the repository at this point in the history
…epend on each other)
  • Loading branch information
kbrsh committed Mar 24, 2017
1 parent bb591c1 commit 484f262
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
// Dependencies changed, recalculate dependencies, cache the output, and return it
instance.$observer.dep.target = prop;
instance.$observer.dep.map[prop] = [];
instance.$observer.dep.changed[prop] = true;
cache = computed[prop].get.call(instance);
instance.$observer.cache[prop] = cache;
instance.$observer.dep.target = null;
Expand Down
Loading

0 comments on commit 484f262

Please sign in to comment.