Why do you put the html source in a JavaScript comment, then parse it out? That 
seems very weird to me. Why not just a JavaScript string? Or why not store it 
in a separate .html file that's read into memory at startup?

On May 31, 2012, at 09:35, Glenn Block wrote:

> Not sure you want to use this but this is a diff approach to just dumping 
> static content using a closure: 
> https://github.com/tjanczuk/git-azure/blob/master/src/cli/commands/server.template.js

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to