<%= %>
) before Underscore ever gets a chance to use it. I assume evaluations would also be consumed by GSP. Took me a while to figure this out, so I thought I'd raise it up as a concern. Underscore.js does give you a way to change the delimiters using regexes.
Thursday, October 13, 2011
Grails GSPs consume Underscore.js ERB-style interpolation delimiters
If you are planning to do any work with Grails and Underscore.js (or Backbone.js) and you have view templates maintained in Groovy Server Pages (GSP) with Underscore.js ERB-style interpolation markup, watch out! GSP will eat up the Underscore.js interpolation markup (
Labels:
grails,
javascript,
underscore.js
Subscribe to:
Post Comments (Atom)
Amazing blog post,Thank you.
ReplyDeletelook here
Vashikaran Astrologer in Banashankari
Good astrologycal post,thank you for sharing with society.
ReplyDeleteFor sofa repair work contact thesofastore gives
Best Sofa Repair Services in Bommanahalli