Skip to main content

All Questions

0 votes
2 answers
728 views

RequireJs text plugin and UnderscoreJs templates

Alright people, I am using the RequireJs text plugin to pull in underscore templates (.html) in my backbone application. Unfortunately my underscore code in my templates are being rendered as plain ...
John williams's user avatar
1 vote
1 answer
370 views

(8 out of range 6) Underscore.js Templates

I am using Backbone.js and underscore.js with Requirejs. However when i try to load my view template, it gives me (8 out of range 6) error in Underscore.js line 8. Please tell me what i am doing ...
xTMNTxRaphaelx's user avatar
2 votes
1 answer
351 views

In Require.js text plugin template, how should I provide javascript methods?

I'm using Require.js and the text plugin. I'm trying to create a template that has something like this: <%= somefunction(displayvalue) %> I need the somefunction(...) to be available to ...
ajma's user avatar
  • 12.1k