You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new System loader instance, this instance was available as global System object inside the modules it imported until systemjs@0.19.27 but breaks in systemjs@0.19.28
loading.js
varnewSystem=new(System.constructor)();newSystem["import"]("./test-module.js").then(m=>console.log(`Is the System instance in test-module.js the same as used for importing it? ${m.observedSystem===newSystem}`)).catch(err=>console.error(err));
test-module.js
exportvarobservedSystem=System;
Result: Is the System instance in test-module.js the same as used for importing it? false
Expected: s the System instance in test-module.js the same as used for importing it? true
The text was updated successfully, but these errors were encountered:
When creating a new System loader instance, this instance was available as global System object inside the modules it imported until systemjs@0.19.27 but breaks in systemjs@0.19.28
loading.js
test-module.js
Result:
Is the System instance in test-module.js the same as used for importing it? false
Expected:
s the System instance in test-module.js the same as used for importing it? true
The text was updated successfully, but these errors were encountered: