computed-style
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "computedStyle", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"main": "dist/computedStyle.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
# computedStyle changelog | ||
0.3.0 - Replaced bespoke minification with `uglifyjs2` | ||
0.2.0 - Added Firefox iframe support and removed 140 bytes support. Fixed by @kjarmicki in #5 | ||
@@ -3,0 +5,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Cross-browser currentStyle/getComputedStyle implementation", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "cross-browser", |
@@ -1,1 +0,1 @@ | ||
function computedStyle(e,p,g,style){g=window.getComputedStyle;style=g?g(e):e.currentStyle;if(style){return style[p.replace(/-(\w)/gi,function(w,l){return l.toUpperCase()})]}} | ||
function computedStyle(a,b,c,d){return c=window.getComputedStyle,d=c?c(a):a.currentStyle,d?d[b.replace(/-(\w)/gi,function(a,b){return b.toUpperCase()})]:void 0} |
{ | ||
"name": "computed-style", | ||
"description": "Cross-browser currentStyle/getComputedStyle implementation", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"homepage": "https://github.com/twolfson/computedStyle", | ||
@@ -33,6 +33,6 @@ "author": { | ||
"devDependencies": { | ||
"grunt": "~0.3.17", | ||
"grunt-jsmin-sourcemap": "~1.7.0", | ||
"grunt": "~0.4.5", | ||
"grunt-cli": "~0.1.13", | ||
"grunt-contrib-uglify": "~0.6.0", | ||
"grunt-templater": "0.0.4", | ||
"grunt-text-replace": "~0.2.10", | ||
"jscs": "~1.8.1", | ||
@@ -39,0 +39,0 @@ "jshint": "~2.5.10", |
19717
328