aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorGary Ye <garysye@gmail.com>2015-09-18 09:59:48 -0700
committerOleg Gaidarenko <markelog@gmail.com>2015-10-12 18:08:13 +0300
commit03eaadb131df925d1072afd2496ee3b41d2f1fc6 (patch)
treea8a50cb39a8e470b7dd64682b2f60b07eb83e223 /test/data
parentee0854f85bd686b55757e8854a10480f23c928da (diff)
downloadjquery-03eaadb131df925d1072afd2496ee3b41d2f1fc6.tar.gz
jquery-03eaadb131df925d1072afd2496ee3b41d2f1fc6.zip
Tests:Docs: Fix various typos
* Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Closes gh-2613 Closes gh-2601
Diffstat (limited to 'test/data')
-rw-r--r--test/data/jquery-1.9.1.js2
-rw-r--r--test/data/testinit.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/data/jquery-1.9.1.js b/test/data/jquery-1.9.1.js
index 80c97a226..81bdf19f3 100644
--- a/test/data/jquery-1.9.1.js
+++ b/test/data/jquery-1.9.1.js
@@ -3525,7 +3525,7 @@ jQuery.each( {
related = event.relatedTarget,
handleObj = event.handleObj;
- // For mousenter/leave call the handler if related is outside the target.
+ // For mouseenter/leave call the handler if related is outside the target.
// NB: No relatedTarget if the mouse left/entered the browser window
if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {
event.type = handleObj.origType;
diff --git a/test/data/testinit.js b/test/data/testinit.js
index 1815d8f7b..e88df966f 100644
--- a/test/data/testinit.js
+++ b/test/data/testinit.js
@@ -35,8 +35,8 @@ this.q = function() {
* @param {String} a - Assertion name
* @param {String} b - Sizzle selector
* @param {String} c - Array of ids to construct what is expected
- * @example t("Check for something", "//[a]", ["foo", "baar"]);
- * @result returns true if "//[a]" return two elements with the IDs 'foo' and 'baar'
+ * @example t("Check for something", "//[a]", ["foo", "bar"]);
+ * @result returns true if "//[a]" return two elements with the IDs 'foo' and 'bar'
*/
QUnit.assert.t = function( a, b, c ) {
var f = jQuery( b ).get(),