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

Canjs 2.1 support and Grunt updates #23

Closed daffl closed 10 years ago

daffl commented 10 years ago

This pull request adds CanJS 2.1 compatibility and support for Stache (Stache does not pre-compile therefore it will just preload the template string). The version flag is now mandatory since pointing to latest cause existing things to break after any CanJS update. Also improves support for Grunt.

Luanre commented 9 years ago

@daffl pull request doesn't fix compatibility with CanJS 2.1 and 2.2 with mustache templates and custom tags. As proposed @marshallswain at #20 it should use tags for can.view.callbacks._tags. At least it solved problem in my project.

Luanre commented 9 years ago

Created #38 for this case.