diff options
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Scope.js b/src/Scope.js index b50d6273..6e90ea66 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -343,7 +343,7 @@ Scope.prototype = { scope.$service('$exceptionHandler')(e); } } - if (watchers = scope.$$watchers) { + if ((watchers = scope.$$watchers)) { // process our watches length = watchers.length; while (length--) { @@ -372,7 +372,7 @@ Scope.prototype = { } } while (scope !== this); } - } while (scope = next); + } while ((scope = next)); if(!(ttl--)) { throw Error('100 $digest() iterations reached. Aborting!'); |
