aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
authordandoyon2011-07-29 18:42:16 -0700
committerVojta Jina2011-07-30 16:41:42 +0200
commit1f4b417184ce53af15474de065400f8a686430c5 (patch)
tree3098ed2ada9a4be843a2e2a12e8c257e7f7fc32f /src/jqLite.js
parent2d8d5aef2918ca0d2503290f86a42701fc98d330 (diff)
downloadangular.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/jqLite.js')
-rw-r--r--src/jqLite.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jqLite.js b/src/jqLite.js
index 2ebcc35b..3d7319a8 100644
--- a/src/jqLite.js
+++ b/src/jqLite.js
@@ -23,7 +23,7 @@
* focus on the most commonly needed functionality and minimal footprint. For this reason only a
* limited number of jQuery methods, arguments and invocation styles are supported.
*
- * NOTE: All element references in angular are always wrapped with jQuery (lite) and are never
+ * Note: All element references in angular are always wrapped with jQuery (lite) and are never
* raw DOM references.
*
* ## Angular's jQuery lite implements these functions:
@@ -152,7 +152,7 @@ function JQLiteData(element, key, value) {
function JQLiteHasClass(element, selector, _) {
// the argument '_' is important, since it makes the function have 3 arguments, which
- // is neede for delegate function to realize the this is a getter.
+ // is needed for delegate function to realize the this is a getter.
var className = " " + selector + " ";
return ((" " + element.className + " ").replace(/[\n\t]/g, " ").indexOf( className ) > -1);
}