Questions tagged [icanhaz.js]

ICanHaz is a JavaScript templating library

ICanHaz combines Mustache.js with jQuery and Zepto for easy client-side templating. ICanHaz could be used any time client-side HTML is being built from JavaScript objects. More information and usage is available at http://icanhazjs.com/.

49 questions
1
vote
1 answer

Comments in mustache.js icanhaz don't work?

I have the following in my template {{! This is a comment that shouldn't be rendered }} I tried it using the demo here: http://mustache.github.com/#demo And found an example from mustache…
c4urself
  • 4,207
  • 21
  • 32
1
vote
2 answers

Output of icanhaz.js templete is [object Array] instead of the rendered template

I am using Zepto.js, ICanHaz.js, and Backbone.js. I have a couple of templates that I am trying to render. After rendering the template and inserting the result into the page, the only output that I seeing is [object Array] or [object…
1
vote
0 answers

ICanHaz Templates Blocked/Filtered in Browser

One of our clients is having trouble loading our website content stored in ICanHaz Templates. Script tag(s) like the following are completely missing from the source code when rendered to the browser.
Michael
  • 2,031
  • 6
  • 21
  • 27
0
votes
2 answers

Backbone.js View Event Not Firing

I am having problems getting my backbone.js view events to fire. When I click #login-button nothing is happening. I am also using iCanHaz (http://icanhazjs.com/) to load the templates. Here is my javascript: $(function() { var router = new…
Dustin
  • 8,217
  • 11
  • 33
  • 44
0
votes
2 answers

Rendering Javascript code in nested mustache templates with mustache.js handlebars.js ICanHaz.js

Is it possible to render Javascript in nested mustache.js templates as follows? myApp.mustache: {{#myapp}} {{>userApp}} {{/myapp}} userApp.mustache: {{#user}} I do want to have all my iCanHaz templates in a single file and i dont know how i…
Ludvig
  • 637
  • 6
  • 18