Skip to content
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

es6 modules 2 - unwrap amd modules #6099

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Feb 4, 2016

Requires #6100

AMD is incompatible with es6 modules, this removes the define() wrapper function and exports the first return value as the default export.

@spalger spalger changed the title es6 modules - unwrap amd modules es6 modules 2 - unwrap amd modules Feb 4, 2016
@epixa
Copy link
Contributor

epixa commented Feb 4, 2016

For reviewers: I strongly recommend using github's remove-whitespace feature when looking through the diff:

https://github.com/elastic/kibana/pull/6099/files?w=1

@epixa
Copy link
Contributor

epixa commented Feb 4, 2016

mfingclap

This might be my favorite PR ever.

LGTM

@tsullivan
Copy link
Member

This might be my favorite PR ever.

Looks like good coding conventions made it possible to search/replace programatically, and I think that's awesome.

LGTM

@kimjoar
Copy link
Contributor

kimjoar commented Feb 4, 2016

🎉

…ideEffects

es6 modules 4 - fix import side effects
es6 modules 3 - hoist commonly inlined modules
spalger added a commit that referenced this pull request Feb 6, 2016
@spalger spalger merged commit 3e867a4 into implement/es6Modules/privateProviders Feb 6, 2016
@spalger spalger deleted the implement/es6Modules/unwrapDefine branch February 14, 2016 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants