mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 18:45:13 -05:00
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:
2
test/data/jquery-1.9.1.js
vendored
2
test/data/jquery-1.9.1.js
vendored
@@ -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;
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user