scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 124  →  ?path2? @ 125
/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 );
};
} );
});