-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps does not exist #237
Comments
cc @matthewp |
Ok yes that is a bug. PRs welcome. Note that the init function will be removed in the next major version though. |
Why will it be removed? It's super useful. Sent from my iPhone
|
I think its use cases are replaced by #190. |
Globals can depend on non-globals. For example jQueryUI might depend on jQuery. Also, without init, I am unable to deal with "document ready" type problems. For example, it's common to want to defer both jQuery's ready event and QUnit from running until all modules have been loaded. This is done in RequireJS's init. Sent from my iPhone
|
Also, we've been trying to convince people to upgrade from RequireJS to steal/system. The more similar the config, the easier it is. Sent from my iPhone
|
I'm keen to get |
Finally fixed. |
If you have a meta with an
init
function, it breaks becausedeps
does not exist here:https://github.com/systemjs/systemjs/blob/master/lib/extension-global.js#L67
You can see that
deps
is not in the scope.The text was updated successfully, but these errors were encountered: