Example:
```js
-t("Check for something", "//[a]", ["foo", "baar"]);
+t("Check for something", "//[a]", ["foo", "bar"]);
```
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;
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;
* @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(),
} ).trigger( "mouseenter" );
- jQuery( "#jc-inner" ).trigger( "mousenter" );
+ jQuery( "#jc-inner" ).trigger( "mouseenter" );
jQuery( "#jc-outer" ).off( "mouseenter mouseleave" ).remove();
jQuery( "#jc-inner" ).remove();
/**
* 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