Added media query support.

* env.dumpLineNumbers was being lost when doing "offline" compilation
   (within node.js)
 * Added documentation for the changed options
 * --line-numbers now takes a parameter
   (either "comments", "mediaquery" or "all")
 * The system can now again output mediaqueries for FireLESS
 * Moved comments tests in debug/comments, will duplicate
   for mediaquery and for "all"

Everything is still utterly broken though, tests still fail.
This commit is contained in:
Simone Deponti
2012-09-10 13:17:33 +02:00
committed by Luke Page
parent 84908b0038
commit 959e22f5ff
9 changed files with 34 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ runTestSet(null, "errors/", function(name, err, compiledLess) {
sys.puts("");
});});
runTestSet({dumpLineNumbers: true}, "debug/");
runTestSet({dumpLineNumbers: 'comments'}, "debug/comments/");
function runTestSet(options, foldername, verifyFunction) {
foldername = foldername || "";