Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
resolve instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Mar 25, 2015
1 parent 6c2c7a1 commit 6d277bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Builder.prototype.reset = function() {
// eg by loading Traceur or Traceur Runtime
var pluginInstantiate = pluginLoader.instantiate;
pluginLoader.instantiate = function(load) {
return pluginInstantiate.call(this, load)
return Promise.resolve(pluginInstantiate.call(this, load))
.then(function(instantiateResult) {
if (global.System !== loader)
global.System = loader;
Expand Down

0 comments on commit 6d277bd

Please sign in to comment.