scratch
/bower_components/jquery/src/css/var/getStyles.js |
@@ -1,17 +1,12 @@ |
define( function() { |
"use strict"; |
|
define(function() { |
return function( elem ) { |
|
// Support: IE <=11 only, Firefox <=30 (#15098, #14150) |
// Support: IE<=11+, Firefox<=30+ (#15098, #14150) |
// IE throws on elements created in popups |
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle" |
var view = elem.ownerDocument.defaultView; |
|
if ( !view || !view.opener ) { |
view = window; |
if ( elem.ownerDocument.defaultView.opener ) { |
return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); |
} |
|
return view.getComputedStyle( elem ); |
return window.getComputedStyle( elem, null ); |
}; |
} ); |
}); |
/bower_components/jquery/src/css/var/isHidden.js |
@@ -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 ); |
}; |
}); |