Sha256: 25c4093389abfd176832d588af26c9708fc866eda63eb4b6a573220dd8ad346f
Contents?: true
Size: 462 Bytes
Versions: 110
Compression:
Stored size: 462 Bytes
Contents
if (!window.getComputedStyle) { window.getComputedStyle = function(el, pseudo) { this.el = el; this.getPropertyValue = function(prop) { var re = /(\-([a-z]){1})/g; if (prop == 'float') prop = 'styleFloat'; if (re.test(prop)) { prop = prop.replace(re, function () { return arguments[2].toUpperCase(); }); } return el.currentStyle[prop] ? el.currentStyle[prop] : null; } return this; } }
Version data entries
110 entries across 110 versions & 1 rubygems