scratch – Blame information for rev 125

Subversion Repositories:
Rev:
Rev Author Line No. Line
125 office 1 define(function() {
58 office 2 return function( elem ) {
125 office 3 // Support: IE<=11+, Firefox<=30+ (#15098, #14150)
58 office 4 // IE throws on elements created in popups
5 // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
125 office 6 if ( elem.ownerDocument.defaultView.opener ) {
7 return elem.ownerDocument.defaultView.getComputedStyle( elem, null );
58 office 8 }
9  
125 office 10 return window.getComputedStyle( elem, null );
58 office 11 };
125 office 12 });