Skip to content

Commit 39dca32

Browse files
committed
refactor
1 parent 4df1e0e commit 39dca32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ function Compiler(options) {
2727
*/
2828

2929
Compiler.prototype.compile = function(node){
30-
return node.stylesheet.rules.map(this.visit, this)
30+
return node.stylesheet
31+
.rules.map(this.visit, this)
3132
.join(this.compress ? '' : '\n\n');
3233
};
3334

0 commit comments

Comments
 (0)