diff options
| author | dandoyon | 2011-07-29 18:42:16 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2011-07-30 16:41:42 +0200 | 
| commit | 1f4b417184ce53af15474de065400f8a686430c5 (patch) | |
| tree | 3098ed2ada9a4be843a2e2a12e8c257e7f7fc32f /src/Scope.js | |
| parent | 2d8d5aef2918ca0d2503290f86a42701fc98d330 (diff) | |
| download | angular.js-1f4b417184ce53af15474de065400f8a686430c5.tar.bz2 | |
doc(typos): fix couple of typos in the docs
Minor documentation fixes. Should not be any code changes.
One test changed due to dependency on text in documentation.
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/Scope.js b/src/Scope.js index b530bbc5..b9fab638 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -9,7 +9,7 @@ function getter(instance, path, unboundFn) {    for ( var i = 0; i < len; i++) {      key = element[i];      if (!key.match(/^[\$\w][\$\w\d]*$/)) -        throw "Expression '" + path + "' is not a valid expression for accesing variables."; +        throw "Expression '" + path + "' is not a valid expression for accessing variables.";      if (instance) {        lastInstance = instance;        instance = instance[key]; @@ -202,7 +202,7 @@ function createScope(parent, providers, instanceCache) {       * @description       * Assigns a value to a property of the current scope specified via `property_chain`. Unlike in       * JavaScript, if there are any `undefined` intermediary properties, empty objects are created -     * and assigned in to them instead of throwing an exception. +     * and assigned to them instead of throwing an exception.       *         <pre>           var scope = angular.scope(); @@ -368,7 +368,7 @@ function createScope(parent, providers, instanceCache) {       *    parameters, `newValue` and `oldValue`.       * @param {(function()|DOMElement)=} [exceptionHanlder=angular.service.$exceptionHandler] Handler       *    that gets called when `watchExp` or `listener` throws an exception. If a DOMElement is -     *    specified as handler, the element gets decorated by angular with the information about the +     *    specified as a handler, the element gets decorated by angular with the information about the       *    exception.       * @param {boolean=} [initRun=true] Flag that prevents the first execution of the listener upon       *    registration. | 
