Closed alexisvincent closed 7 years ago
@guybedford ping
@alexisvincent it is what you see :) There's no spec anywhere, just https://github.com/systemjs/systemjs/blob/master/lib/register.js#L20.
@guybedford Thanks, my question was badly phrased.
In light of this issue Trace API, is it fine to use System.defined? As in this is the way you plan to move forward? :)
It's the way to work with it in this version of systemjs. In the next major the trace api will be reliable again and defined won't be available. On Sat, 12 Nov 2016 at 11:37, Alexis Vincent notifications@github.com wrote:
@guybedford https://github.com/guybedford Thanks, my question was badly phrased.
In light of this issue Trace API https://github.com/capaj/systemjs-hot-reloader/issues/94, is it fine to use System.defined? As in this is the way you plan to move forward? :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alexisvincent/systemjs-hmr/issues/6#issuecomment-260112127, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkiygxSqkETA91nnAbSpdk1FwHqMwAiks5q9Yj3gaJpZM4KqRch .
Ok, thanks. Which version will it be deprecated in? 20?
Yeah, and then replaced with the trace API from https://github.com/ModuleLoader/es-module-loader#tracing-api.
Great thanks. Just to clarify. Will it be deprecated or removed in 20?
Removed.
Supported in latest build, pending https://github.com/ModuleLoader/es-module-loader/issues/532
@guybedford
What can I rely on SystemJS.defined to provide?