I know this has been asked a million times, but I can't seem to locate the illegal characters in this line:
window.require.register("templates/application", Function('exports, require, module', "module.exports = Ember.TEMPLATES[module.id.replace('templates\\','')] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {\nthis.compilerInfo = [2,'>= 1.0.0-rc.3'];\nhelpers = helpers || Ember.Handlebars.helpers; data = data || {};\n var buffer = '', hashTypes, escapeExpression=this.escapeExpression;\n\n\n hashTypes = {};\n data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, \"outlet\", {hash:{},contexts:[depth0],types:[\"ID\"],hashTypes:hashTypes,data:data})));\n data.buffer.push(\"\\n\");\n return buffer;\n \n});\n//@ sourceURL=templates/application.hbs"));
This line is from the app.js file generated using node/brunch from the simple empty branch of https://github.com/cbosco/ember-brunch.
I get the error:
Uncaught SyntaxError: Unexpected token ILLEGAL
in Chrome when pointing to localhost:3333. Firefox gives the following error:
SyntaxError: unterminated string literal
It looks like it's in the generated "templates" code in app.js. The same problem happens in the cbosco todomvc project.
Steps to recreate: