From fd822bdaf9d04e522aaa5400b673f333190abe98 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 7 Oct 2011 11:27:49 -0700 Subject: chore(formating): clean code to be function() { --- src/Scope.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Scope.js') 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; -- cgit v1.2.3