Skip to content

Commit

Permalink
Export computed._latestValue in debug mode (was removed in 2e0647e).
Browse files Browse the repository at this point in the history
  • Loading branch information
mbest committed Jan 14, 2016
1 parent d608c4c commit b3f24b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subscribables/dependentObservable.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ var computedFn = {
}

state.latestValue = newValue;
if (DEBUG) computedObservable._latestValue = newValue;

if (state.isSleeping) {
computedObservable.updateVersion();
Expand Down

0 comments on commit b3f24b1

Please sign in to comment.