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

Version and wrapper-options are not working with grunt #8

Closed daniel-franz closed 10 years ago

daniel-franz commented 11 years ago

...as those options are supposed to be in options.options

options is:

{
    src: '*.mustache',
    out: 'filename.js',
    options: {
        version: '2.0.0-pre'
    }
}
daffl commented 11 years ago

The docs were wrong, it is actually supposed to be

{
    src: '*.mustache',
    out: 'filename.js',
    version: '2.0.0-pre'
}

I changed it in the documentation but in the next version this should indeed move into options though. Would like to fix #5 for that as well as we are getting close to a DOM-less compilation.

daniel-franz commented 11 years ago

A docu-fix is ok, too. Thanks a lot.

daffl commented 11 years ago

Lets keep this PR open so that I don't forget to change the Grunt task options when we have the DOM-less compilation.