Skip to content

Commit

Permalink
Merge pull request #675 from xtian/handlebars-runtime
Browse files Browse the repository at this point in the history
Use handlebars-runtime in production.
  • Loading branch information
stefanpenner committed May 10, 2014
2 parents a9d8e96 + dd4529c commit 5a3ae44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* [ENHANCEMENT] added first iteration of a slow but thorough acceptance
test. A new app is generated, depedencies resolve, and the test for
that base app are run. [#614](https://github.com/stefanpenner/ember-cli/pull/614)
* [ENHANCEMENT] Use handlebars-runtime in production. [#675](https://github.com/stefanpenner/ember-cli/pull/675)

### 0.0.27

Expand Down
7 changes: 6 additions & 1 deletion lib/broccoli/ember-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ function EmberApp(options) {
EmberApp.prototype.populateLegacyFiles = function () {

this.import('vendor/jquery/dist/jquery.js');
this.import('vendor/handlebars/handlebars.js');

this.import({
development: 'vendor/handlebars/handlebars.js',
production: 'vendor/handlebars/handlebars.runtime.js'
});

this.import({
development: 'vendor/ember/ember.js',
production: 'vendor/ember/ember.prod.js'
Expand Down

0 comments on commit 5a3ae44

Please sign in to comment.