Closed SimplGy closed 11 years ago
Is it true that I can't use JS comments to contain my includes?
No, but you'll need to escape your prefix/suffix if you want to.
If you want to say:
/* @@ include("foo.js") */
Your prefix/suffix should look like:
options: {
prefix: "\\/\\* @@ ",
suffix: " \\*\\/"
}
I see, that makes great sense, thanks!
Mostly looking for confirmation--Is it true that I can't use JS comments to contain my includes?
Works:
Does not work:
Is this because those characters are incompatible with the regex used to find the replacement areas?