File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 16
16
color : # 000 ;
17
17
}
18
18
19
- body {
19
+ body ,
20
+ # content {
20
21
padding : 1in ;
21
22
border : 0.5pt solid # 666 ;
22
23
}
23
- }
24
+ }
Original file line number Diff line number Diff line change @@ -137,14 +137,16 @@ Compiler.prototype.keyframe = function(node){
137
137
*/
138
138
139
139
Compiler . prototype . rule = function ( node ) {
140
+ var indent = this . indent ( ) ;
141
+
140
142
if ( this . compress ) {
141
143
return node . selectors . join ( ',' )
142
144
+ '{'
143
145
+ node . declarations . map ( this . declaration , this ) . join ( ';' )
144
146
+ '}' ;
145
147
}
146
148
147
- return this . indent ( ) + node . selectors . join ( ',\n' )
149
+ return node . selectors . map ( function ( s ) { return indent + s } ) . join ( ',\n' )
148
150
+ ' {\n'
149
151
+ this . indent ( 1 )
150
152
+ node . declarations . map ( this . declaration , this ) . join ( ';\n' )
You can’t perform that action at this time.
0 commit comments