diff options
| author | Misko Hevery | 2011-09-08 13:56:29 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-11 11:01:45 -0700 | 
| commit | 4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (patch) | |
| tree | 91f70bb89b9c095126fbc093f51cedbac5cb0c78 /src/Scope.js | |
| parent | df6d2ba3266de405ad6c2f270f24569355706e76 (diff) | |
| download | angular.js-4f78fd692c0ec51241476e6be9a4df06cd62fdd6.tar.bz2 | |
feat(forms): new and improved forms
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/Scope.js b/src/Scope.js index c5f5bf1b..e4fc0622 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -354,7 +354,8 @@ Scope.prototype = {                // circuit it with === operator, only when === fails do we use .equals                if ((value = watch.get(current)) !== (last = watch.last) && !equals(value, last)) {                  dirty = true; -                watch.fn(current, watch.last = copy(value), last); +                watch.last = copy(value); +                watch.fn(current, value, last);                }              } catch (e) {                current.$service('$exceptionHandler')(e); | 
