"../selector"
], function( jQuery, rnotwhite, access, support ) {
-var nodeHook, boolHook,
+var boolHook,
attrHandle = jQuery.expr.attrHandle;
jQuery.fn.extend({
if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
name = name.toLowerCase();
hooks = jQuery.attrHooks[ name ] ||
- ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );
+ ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );
}
if ( value !== undefined ) {
container = document.createElement( "div" ),
div = document.createElement( "div" );
+ // Finish early in limited (non-browser) environments
if ( !div.style ) {
return;
}