Minor fixes.

Fixed a bug that could appear with compression enabled,
and minor tabbing issues in tests.
This commit is contained in:
Simone Deponti
2012-09-21 08:26:48 +02:00
committed by Luke Page
parent 54c7d12ba3
commit 8abc60ef26
2 changed files with 14 additions and 14 deletions

View File

@@ -198,7 +198,7 @@ tree.Ruleset.prototype = {
}
css.push(rulesets);
return css.join('');
return css.join('') + (env.compress ? '\n' : '');
},
joinSelectors: function (paths, context, selectors) {

View File

@@ -1,21 +1,21 @@
.mixin_import1() {
@media all {
.tst {
color: black;
@media screen {
color: red;
.tst3 {
color: white;
}
}
}
}
@media all {
.tst {
color: black;
@media screen {
color: red;
.tst3 {
color: white;
}
}
}
}
}
.mixin_import2() {
.tst2 {
color: white;
}
color: white;
}
}
.tst3 {