Closed ilovetogetspamed closed 5 years ago
You have
(Hello <em>{{:nickname"}}</em>)
(extra "
) instead of
(Hello <em>{{:nickname}}</em>)
I assume that is the problem.
Wow, not my day. Sorry. It works great now! Thanks for all hard work on jsrender.
I have the following test file:
I was hoping that my test for (nickname == "Sue") would have produced:
Name: Robert (Goes by Bob) Name: Susan (Hello Sue)
Instead I get
Name: Robert (Goes by Bob) Name: Susan (Hello [object Object])
I tested in both Safari and Chrome with the same results. Note: I did appended the 'http:' to the script tags' src for it to work locally.