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

Remove babel-polyfill #229

Merged
merged 3 commits into from
May 2, 2016
Merged

Remove babel-polyfill #229

merged 3 commits into from
May 2, 2016

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Apr 30, 2016

As noted in #206, this PR removes the babel-polyfill for it's size and global namespace pollution. We don't want to drop this on our consumers.

@levithomason levithomason force-pushed the feature/remove-babel-polyfill branch from fc4381f to ee51ca3 Compare April 30, 2016 01:43
@@ -87,6 +87,7 @@
"karma-mocha": "^0.2.2",
"karma-mocha-reporter": "^2.0.0",
"karma-phantomjs-launcher": "^1.0.0",
"karma-phantomjs-shim": "github:technologyadvice/karma-phantomjs-shim",
Copy link
Member Author

@levithomason levithomason Apr 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can go back to main branch once String.repeat and String.includes are merged:

tschaub/karma-phantomjs-shim#6
tschaub/karma-phantomjs-shim#7

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

karma-phantomjs-shim@1.4.0 published with both includes and repeat. Thanks for the contribution.

@levithomason
Copy link
Member Author

We could also use lodash repeat/includes, however, chai-enzyme also uses includes for .should.contain.text() assertions. So there is no way around that one.

@levithomason levithomason changed the title Removed babel-polyfill Remove babel-polyfill May 2, 2016
],
phantomjsLauncher: {
// exit on ResourceError, useful if karma exits without killing phantom
exitOnResourceError: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, didn't know about this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me either, just saw it in the docs while debugging something else.

@dvdzkwsk
Copy link
Member

dvdzkwsk commented May 2, 2016

👻

@dvdzkwsk
Copy link
Member

dvdzkwsk commented May 2, 2016

(w/ tests passing)

@levithomason levithomason force-pushed the feature/remove-babel-polyfill branch from 2157b04 to 163f376 Compare May 2, 2016 17:04
@levithomason levithomason merged commit 01bfcad into master May 2, 2016
@levithomason levithomason deleted the feature/remove-babel-polyfill branch May 2, 2016 18:06
@levithomason levithomason mentioned this pull request May 24, 2016
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants