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 e4fc0622..be5030cc 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -50,7 +50,7 @@ function createScope(providers, instanceCache) {         expect(scope.greeting).toEqual(undefined); -       scope.$watch('name', function(){ +       scope.$watch('name', function() {           this.greeting = this.salutation + ' ' + this.name + '!';         }); // initialize the watch @@ -584,7 +584,7 @@ Scope.prototype = {          event = {            name: name,            targetScope: scope, -          cancel: function(){canceled = true;} +          cancel: function() {canceled = true;}          },          listenerArgs = concat([event], arguments, 1),          i, length; | 
