rework
Advanced tools
Comparing version 0.17.1 to 0.17.2
{ | ||
"name": "rework", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "CSS manipulations built on CSSOM", | ||
@@ -5,0 +5,0 @@ "keywords": ["css", "manipulation", "preprocess", "transform"], |
0.17.2 / 2013-07-10 | ||
================== | ||
* fix references preceeded by punctuation. Closes #106 | ||
0.17.1 / 2013-07-03 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -21,4 +21,4 @@ | ||
* width: 50px; | ||
* height: 50px; | ||
* line-height: 50px; | ||
* height: 50px; | ||
* line-height: 50px; | ||
* } | ||
@@ -50,5 +50,7 @@ * | ||
decl.value = val.replace(/(^| )@([-\w]+)/g, function(_, p, name){ | ||
decl.value = val.replace(/@([-\w]+)/g, function(_, name){ | ||
// TODO: fix this problem for real with visionmedia/css-value | ||
if ('2x' == name) return '@' + name; | ||
if (null == map[name]) throw new Error('@' + name + ' is not defined in this scope'); | ||
return p + map[name]; | ||
return map[name]; | ||
}); | ||
@@ -55,0 +57,0 @@ |
{ | ||
"name": "rework", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "CSS manipulations built on CSSOM", | ||
@@ -5,0 +5,0 @@ "keywords": ["css", "manipulation", "preprocess", "transform"], |
40906
894