From b75ac349be8d6cff1f5d0966a63d712bc8daa92b Mon Sep 17 00:00:00 2001 From: Jonatan Pedersen Date: Sat, 4 Feb 2017 19:34:57 +0100 Subject: [PATCH] fixes .rule regression --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 81ef84b..18e31ba 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,7 @@ function getSelectorRulesFromCssAst(cssAst) { selectorRules.push({ selector: selector, - rule: cssSelectorParser.parse(selector) + rule: cssSelectorParser.parse(selector).rule }); } } else if (rule.type === 'media') {