Adding support for bower and reorganizing so when its used via bower it will be manageable for a dev.
This commit is contained in:
13
bower_components/jquery/src/css/var/isHidden.js
vendored
Normal file
13
bower_components/jquery/src/css/var/isHidden.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
define([
|
||||
"../../core",
|
||||
"../../selector"
|
||||
// css is assumed
|
||||
], function( jQuery ) {
|
||||
|
||||
return function( elem, el ) {
|
||||
// isHidden might be called from jQuery#filter function;
|
||||
// in that case, element will be second argument
|
||||
elem = el || elem;
|
||||
return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user