mensch
Advanced tools
Comparing version 0.2.0 to 0.2.1
# mensch history | ||
## 0.2.1 - 20 Sep 2013 | ||
- Trim whitespace around grouped selectors. | ||
## 0.2.0 - 18 Sep 2013 | ||
@@ -4,0 +8,0 @@ |
@@ -185,5 +185,9 @@ var DEBUG = false; // `true` to print debugging info. | ||
function parseSelector(token) { | ||
function trim(str) { | ||
return str.trim(); | ||
} | ||
return astNode(token, { | ||
type: 'rule', | ||
selectors: token.text.split(','), | ||
selectors: token.text.split(',').map(trim), | ||
declarations: parseDeclarations(token) | ||
@@ -190,0 +194,0 @@ }); |
{ | ||
"name": "mensch", | ||
"description": "A decent CSS parser", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32508
971
0