canjs / can-compile

Compile CanJS Mustache and EJS views for lightning fast production apps
http://daffl.github.com/can-compile
MIT License
35 stars 15 forks source link

Not working with stache and canjs 2.1.x #40

Closed daniel-franz closed 8 years ago

daniel-franz commented 9 years ago

With the current version and canjs 2.1.x the output is:

   can.stache("<div></div>")

instead of

   can.view.preloadStringRenderer('templates_example_stache', can.stache("<div></div>"));

Which seems to be caused by 9080e532fa863754bc3d9935fbe8be164876b7b1

EyMaddis commented 9 years ago

actually it only triggers when the file extension is .stache instead of .mustache