diff options
| author | dandoyon | 2011-07-29 18:42:16 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-08-18 23:24:08 -0700 | 
| commit | a01cf6d39e30598bb0145e619515c69b6aac09e9 (patch) | |
| tree | 3098ed2ada9a4be843a2e2a12e8c257e7f7fc32f /src/Scope.js | |
| parent | f93e9bfa81333654b915ca83294a2d3d357c73a2 (diff) | |
| download | angular.js-a01cf6d39e30598bb0145e619515c69b6aac09e9.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.  | 
