diff options
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/rootScope.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 5e9e8a9f..1d8d4e77 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -266,7 +266,7 @@ function $RootScopeProvider(){ - // Using a listener function + // Using a listener function var food; scope.foodCounter = 0; expect(scope.foodCounter).toEqual(0); @@ -291,7 +291,7 @@ function $RootScopeProvider(){ // Update food and run digest. Now the counter will increment food = 'cheeseburger'; scope.$digest(); - expect(scope.foodCounter).toEqual(1); + expect(scope.foodCounter).toEqual(1); * </pre> * @@ -710,7 +710,7 @@ function $RootScopeProvider(){ * * - `string`: execute using the rules as defined in {@link guide/expression expression}. * - `function(scope)`: execute the function with the current `scope` parameter. - * + * * @param {(object)=} locals Local variables object, useful for overriding values in scope. * @returns {*} The result of evaluating the expression. */ |
