Show More
Commit Description:
utf8mb4
Commit Description:
utf8mb4
References:
File last commit:
Show/Diff file:
Action:
node_modules/jquery/src/css/var/getStyles.js
| 17 lines
| 401 B
| application/javascript
| JavascriptLexer
|
r789 | define( function() { | |||
"use strict"; | ||||
return function( elem ) { | ||||
// Support: IE <=11 only, 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; | ||||
} | ||||
return view.getComputedStyle( elem ); | ||||
}; | ||||
} ); | ||||