yaymukund / grunt-ember-handlebars

Precompile ember templates in grunt using only headless-ember.js and ember.js
MIT License
34 stars 26 forks source link

Use handlebars with grunt banner/footer #23

Open nicobrinkkemper opened 10 years ago

nicobrinkkemper commented 10 years ago

When I concat like this

banner: ";(function( window, Ember, undefined){ \n 'use strict';",
footer: "}( window, Ember ));"

My template wil brake. Is it a bad practise to concat and wrap ember-handlebars? It brakes because this is undefined and

this["App"] = this["App"] || {};

Doesn't work inside my function