HenrikJoreteg / ICanHaz.js

A clean solution for templating with Mustache.js and jQuery or Zepto
icanhazjs.com
Other
837 stars 127 forks source link

Mustache.js v0.4.0 ? #40

Closed rafi closed 12 years ago

rafi commented 12 years ago

Mustache.js v0.4.0 is out... any plans on upgrading?

dtipson commented 12 years ago

Also, can Mustache.js be exposed as its own function, since it's included anyhow, so that people can use it for non-ich templating (say, a simple template in a js library)? I've basically just mapped the bundled version to a global variable to make this work for me, but I'm not 100% sure if that's the right approach for the library itself.

HenrikJoreteg commented 12 years ago

It's updated and there's now a version available ICanHaz-no-mustache.js that doesn't bundle, it just expects a Mustache global. Then you can include whatever version of mustache you want separately, which also means you can optionally expose it as a global.