Note #1: I've still not found a solution to stopping the velocity
parser from evaluating below a certain point.
#stop ?
See
http://velocity.apache.org/engine/releases/velocity-1.7/user-guide.html#Stop
That stops the rendering as well, and we want to get all the JS code
that comes afterwards.
Maybe #[[ ... ]]# is what we want?
http://velocity.apache.org/engine/devel/vtl-reference-guide.html#Unparsed_C…
It depends on not having "]]#" present in the source, but I guess that's
fine since we would explicitly use this when needed.
--
Sergiu Dumitriu
http://purl.org/net/sergiu