Skip to content

Commit

Permalink
[fix] import rules now work with " as well
Browse files Browse the repository at this point in the history
  • Loading branch information
stef authored and NV committed Mar 20, 2011
1 parent f1cc1c7 commit 8d1d5df
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/parse.js
Expand Up @@ -72,8 +72,13 @@ CSSOM.parse = function parse(token, options) {
}
buffer += token.slice(i, index);
i = index - 1;
if (state == 'before-value') {
state = 'value';
switch (state) {
case 'before-value':
state = 'value';
break;
case 'importRule-begin':
state = 'importRule';
break;
}
break;

Expand Down

0 comments on commit 8d1d5df

Please sign in to comment.