cujojs/wire — pull request #136 by fabricematrat (2013-10-06 18:47:59+00:00)
Title: add regex to support comment inside string like http://example.com

Hi,

To be able to support 'http://example.com' inside the template, cram should avoid to take it as a comment.
The current behavior of cram will create an invalid file with 'http: and then the next line.
I implemented a regexp which replace the string containing comments (// or /*...*/) by a temp variable and store it in an array. Then call the same logic of removing comment, then put back the original string.

BR,
Fabrice.