From b2f66433c6f3813cc38bbfa4fd1e1604b4e2c516 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Thu, 16 Mar 2017 20:37:40 -0700 Subject: [PATCH] [BUGFIX] ensure the globals build has the correct context in the iife. --- lib/javascripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/javascripts.js b/lib/javascripts.js index 1e54bc75a7f..b87e31d3dc1 100644 --- a/lib/javascripts.js +++ b/lib/javascripts.js @@ -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 + '})();\n' + emberDataShims + footer: '\nrequire("ember-data");\nrequire("ember-load-initializers")["default"](Ember.Application, "ember-data");\n' + dsGlobal + '})(this);\n' + emberDataShims }); }