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

Cherry-picked from 03eaadb131
Closes gh-2613
Closes gh-2601
This commit is contained in:
Gary Ye
2015-09-18 09:59:48 -07:00
committed by Oleg Gaidarenko
parent 7e78c2ec81
commit ef6cd83ab0
6 changed files with 7 additions and 7 deletions

View File

@@ -882,7 +882,7 @@ QUnit.test( "withinElement implemented with jQuery.contains()", function( assert
} ).trigger( "mouseenter" );
jQuery( "#jc-inner" ).trigger( "mousenter" );
jQuery( "#jc-inner" ).trigger( "mouseenter" );
jQuery( "#jc-outer" ).off( "mouseenter mouseleave" ).remove();
jQuery( "#jc-inner" ).remove();

View File

@@ -293,7 +293,7 @@ testIframe(
/**
* Asserts that a select matches the given IDs
* @example t("Check for something", "//[a]", ["foo", "baar"]);
* @example t("Check for something", "//[a]", ["foo", "bar"]);
* @param {String} a - Assertion name
* @param {String} b - Sizzle selector
* @param {Array} c - Array of ids to construct what is expected