From 1f4b417184ce53af15474de065400f8a686430c5 Mon Sep 17 00:00:00 2001 From: dandoyon Date: Fri, 29 Jul 2011 18:42:16 -0700 Subject: 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. --- src/Scope.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Scope.js') 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. *
          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.
-- 
cgit v1.2.3