start refactoring toCSS so we will be able to collect sourcemap information at the same time

This commit is contained in:
Luke Page
2013-07-11 22:08:38 +01:00
parent 24e2b01d6e
commit 4db7c883cf
26 changed files with 300 additions and 199 deletions

View File

@@ -17,6 +17,9 @@ tree.Value.prototype = {
}));
}
},
genCSS: function (env, output) {
output.add(this.toCSS(env));
},
toCSS: function (env) {
return this.value.map(function (e) {
return e.toCSS(env);