diff options
| author | Misko Hevery | 2011-10-07 11:27:49 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-10-11 11:01:46 -0700 |
| commit | fd822bdaf9d04e522aaa5400b673f333190abe98 (patch) | |
| tree | 451cd26d3f7da862692d6c56e6e8f235824c180a /src/Scope.js | |
| parent | 4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff) | |
| download | angular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2 | |
chore(formating): clean code to be function() {
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; |
