Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
fix(ng_mustache): actually assign to _hasObservers
Browse files Browse the repository at this point in the history
  • Loading branch information
chirayuk committed Mar 20, 2014
1 parent 18ceb4d commit 61c953d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core_dom/ng_mustache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class NgAttrMustacheDirective {

attrs.listenObserverChanges(attrName, (hasObservers) {
if (_hasObservers != hasObservers) {
hasObservers = hasObservers;
_hasObservers = hasObservers;
if (_watch != null) _watch.remove();
_watch = scope.watch(ast, interpolation.call, readOnly: !hasObservers);
}
Expand Down

0 comments on commit 61c953d

Please sign in to comment.