Commit f6c1cce

mo khan <mo@mokhan.ca>
2014-11-29 21:53:28
return of the hack.
1 parent 60bd3a5
Changed files (1)
Brocfile.js
@@ -22,15 +22,15 @@ var app = new EmberApp({
 // along with the exports of each module as its value.
 
 // HACK to get ember-cli to work in production
-//var index = app.legacyFilesToAppend.indexOf('bower_components/handlebars/handlebars.runtime.js');
-//if(index) {
-  //app.legacyFilesToAppend[index] = 'bower_components/handlebars/handlebars.js';
-//}
+var index = app.legacyFilesToAppend.indexOf('bower_components/handlebars/handlebars.runtime.js');
+if(index) {
+  app.legacyFilesToAppend[index] = 'bower_components/handlebars/handlebars.js';
+}
 
-app.import({
-  development: 'bower_components/handlebars/handlebars.js',
-  production:  'bower_components/handlebars/handlebars.runtime.js'
-});
+//app.import({
+  //development: 'bower_components/handlebars/handlebars.js',
+  //production:  'bower_components/handlebars/handlebars.runtime.js'
+//});
 
 app.import('bower_components/moment/moment.js');
 module.exports = app.toTree();