Core: Style updates

Ref #14246
Ref gh-1588
This commit is contained in:
Alexander Schmitz 2015-08-21 00:14:57 -04:00
parent c9fbb763ab
commit fe5534b347
5 changed files with 39 additions and 37 deletions

View File

@ -30,7 +30,8 @@ return $.extend( $.expr[ ":" ], {
return !!$.data( elem, dataName ); return !!$.data( elem, dataName );
}; };
} ) : } ) :
// support: jQuery <1.8
// Support: jQuery <1.8
function( elem, i, match ) { function( elem, i, match ) {
return !!$.data( elem, match[ 3 ] ); return !!$.data( elem, match[ 3 ] );
} }

View File

@ -24,7 +24,7 @@
} }
} ( function( $ ) { } ( function( $ ) {
// selectors // Selectors
$.ui.focusable = function( element, hasTabindex ) { $.ui.focusable = function( element, hasTabindex ) {
var map, mapName, img, var map, mapName, img,
nodeName = element.nodeName.toLowerCase(); nodeName = element.nodeName.toLowerCase();
@ -42,7 +42,8 @@ $.ui.focusable = function( element, hasTabindex ) {
"a" === nodeName ? "a" === nodeName ?
element.href || hasTabindex : element.href || hasTabindex :
hasTabindex ) && hasTabindex ) &&
// the element and all of its ancestors must be visible
// The element and all of its ancestors must be visible
visible( element ); visible( element );
}; };

2
ui/jquery-1-7.js vendored
View File

@ -24,7 +24,7 @@
} }
}( function( $ ) { }( function( $ ) {
// support: jQuery 1.7 only // Support: jQuery 1.7 only
// Not a great way to check versions, but since we only support 1.7+ and only // Not a great way to check versions, but since we only support 1.7+ and only
// need to detect <1.8, this is a simple check that should suffice. Checking // need to detect <1.8, this is a simple check that should suffice. Checking
// for "1.7." would be a bit safer, but the version string is 1.7, not 1.7.0 // for "1.7." would be a bit safer, but the version string is 1.7, not 1.7.0