Skip to content

Commit d644ef2

Browse files
committed
fix comment output. Closes #16
1 parent 1e19ec2 commit d644ef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,14 @@ Compiler.prototype.rule = function(node){
186186

187187
return node.selectors.join(',')
188188
+ '{'
189-
+ decls.map(this.declaration, this).join(';')
189+
+ decls.map(this.visit, this).join(';')
190190
+ '}';
191191
}
192192

193193
return node.selectors.map(function(s){ return indent + s }).join(',\n')
194194
+ ' {\n'
195195
+ this.indent(1)
196-
+ decls.map(this.declaration, this).join(';\n')
196+
+ decls.map(this.visit, this).join(';\n')
197197
+ this.indent(-1)
198198
+ '\n' + this.indent() + '}';
199199
};

0 commit comments

Comments
 (0)