Comments in web-routes-quasi, hamlet, etc

I think this might already have been beaten too death, but there any way of getting a comment syntax (even very simple, anyhting after -- is a comment) into the next version of all the QQs? Would be quite appreciated :) thanks, max

On Tue, Oct 5, 2010 at 4:17 AM, Max Cantor
I think this might already have been beaten too death, but there any way of getting a comment syntax (even very simple, anything after -- is a comment) into the next version of all the QQs?
If a line begins with $# it produces a comment until the end of line. Eg: Text $# Comment %br More Text becomes: Text <br> More Text

On Mon, Oct 4, 2010 at 10:02 PM, Tim Matthews
On Tue, Oct 5, 2010 at 4:17 AM, Max Cantor
wrote: I think this might already have been beaten too death, but there any way of getting a comment syntax (even very simple, anything after -- is a comment) into the next version of all the QQs?
If a line begins with $# it produces a comment until the end of line. Eg:
Text $# Comment %br More Text
becomes:
Text <br> More Text
This is also true for Cassius. Julius currently doesn't define commenting, but you can just use Javascript comments (/* */) if you want. We could try to add some kind of comment to Julius, but I think efforts would be better spent on a Javascript minifier[1] that will simply remove Javascript comments automatically. Michael [1] http://github.com/alanz/hjsmin
participants (3)
-
Max Cantor
-
Michael Snoyman
-
Tim Matthews