[stringtemplate-interest] Conflict with jQuery's $
Jeyaram Gurusamy
jaiatpm at yahoo.com
Sun Jun 15 18:08:19 PDT 2008
Dear All,
I am just starting with StringTemplate. I am afraid that it could have been answered already but I wasn't able to search the newsgroup archives.
ST seems to conflict with jQuery's $. The following code
$("something").something
throws this error
action parse error in group mainGroup line 0; template context is [context_name]
line 1:20: unexpected token: .
at org.antlr.stringtemplate.language.ActionParser.action(ActionParser.java:143)
at org.antlr.stringtemplate.StringTemplate.parseAction(StringTemplate.java:879)
Is it a known problem? Is there a solution to it?
I understand that we shall change jQuery's $ to something else as it is just an alias to jQuery itself. But is there any other solution without touching jQuery's $?
Thank you very much for your time.
Regards
Jeyaram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20080615/d4e85371/attachment.html
More information about the stringtemplate-interest
mailing list