Skip to content

Commit

Permalink
Merge pull request #4880 from runspired/fix/iife-canary
Browse files Browse the repository at this point in the history
[BUGFIX canary] ensure context is applied in the iife
  • Loading branch information
bmac committed Mar 17, 2017
2 parents ba7f462 + b5a1c0d commit 6af0309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/javascripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function collapse(tree, outputFileName) {
inputFiles: ['license.js', 'loader.js', '**/*.js'],
outputFile: '/' + outputFileName,
header: '(function(){ \n"use strict";\n',
footer: '\nrequire("ember-data");\nrequire("ember-load-initializers")["default"](Ember.Application, "ember-data");\n' + dsGlobal + '})(this);\n' + emberDataShims
footer: '\nrequire("ember-data");\nrequire("ember-load-initializers")["default"](Ember.Application, "ember-data");\n' + dsGlobal + '}).call(this);\n' + emberDataShims
});
}

Expand Down

0 comments on commit 6af0309

Please sign in to comment.