Skip to content

Commit

Permalink
more fixes based on feedback from Steven [mozilla#452 state:peer-revi…
Browse files Browse the repository at this point in the history
…ew-requested]
  • Loading branch information
annasob committed Apr 21, 2011
1 parent 0b46ef9 commit 0b3713a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions players/vimeo/popcorn.vimeo.js
Expand Up @@ -230,17 +230,9 @@
return matches ? matches[0].substr(10) : "";
}

// Borrowed from: http://www.quirksmode.org/dom/getstyles.html
// Gets the style for the given element
function getStyle( elem, styleProp ) {
return elem.style[styleProp];
if ( elem.currentStyle ) {
// IE way
return elem.currentStyle[styleProp];
} else if ( global.getComputedStyle ) {
// Firefox, Chrome, et. al
return document.defaultView.getComputedStyle( elem, null ).getPropertyValue( styleProp );
}
}

function makeSwf( self, vidId, containerId ) {
Expand Down

0 comments on commit 0b3713a

Please sign in to comment.