css-whitespace
Advanced tools
Comparing version 0.0.6 to 1.0.0
1.0.0 / 2013-02-27 | ||
================== | ||
* fix & support with comma-delimited selectors | ||
0.0.6 / 2013-02-20 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -161,4 +161,5 @@ | ||
if (offset != i) { | ||
var parent = rules[i].parent; | ||
rules[i][1].forEach(function(selector){ | ||
var parent = ~selector.indexOf('&'); | ||
selector = selector.replace('&', ''); | ||
buf.unshift(parent ? selector : ' ' + selector); | ||
@@ -165,0 +166,0 @@ compile(rules, i - 1); |
@@ -94,3 +94,2 @@ | ||
|| indentation() | ||
|| parent() | ||
|| prop() | ||
@@ -174,15 +173,2 @@ || rule(); | ||
/** | ||
* Parent reference. | ||
*/ | ||
function parent() { | ||
var m = str.match(/^ *&([^\n]*)/); | ||
if (!m) return; | ||
str = str.slice(m[0].length); | ||
var ret = ['rule', [m[1]]]; | ||
ret.parent = true; | ||
return ret; | ||
} | ||
/** | ||
* Property. | ||
@@ -189,0 +175,0 @@ */ |
{ | ||
"name": "css-whitespace", | ||
"version": "0.0.6", | ||
"version": "1.0.0", | ||
"description": "Whitespace significant CSS to regular CSS", | ||
@@ -5,0 +5,0 @@ "keywords": ["css", "parser", "rework"], |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
10947
457