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

iOS Safari 10 bug where SockJS couldn't be found #1238

Merged
merged 3 commits into from Dec 22, 2017

Conversation

abcd-ca
Copy link
Contributor

@abcd-ca abcd-ca commented Dec 18, 2017

What kind of change does this PR introduce?
bug fix on iOS Safari 10 (iOS 10)

Did you add or update the examples/?
No, not applicable, no API changes

Summary

Fixes iOS Safari 10 bug. At the root, this works around a bug where Safari's eval's scope was getting confused. Something to do with this issue

bug reference

Does this PR introduce a breaking change?

No

Other information

No

Fixes iOS Safari 10 bug. At the root, this works around a bug where Safari's eval's scope was getting confused.  Something to do with [this issue](https://stackoverflow.com/questions/46036960/evaluated-expression-const-variable-scope-in-safari)

[bug reference](webpack#1090 (comment))
@jsf-clabot
Copy link

jsf-clabot commented Dec 18, 2017

CLA assistant check
All committers have signed the CLA.

@shellscape
Copy link
Contributor

@abcd-ca please fill out the pull request template, those aren't optional. we ask that of everyone.

@abcd-ca
Copy link
Contributor Author

abcd-ca commented Dec 18, 2017

@shellscape how's that?

@abcd-ca
Copy link
Contributor Author

abcd-ca commented Dec 18, 2017

not clear why Travis CI is failing

@shellscape
Copy link
Contributor

Better, but as a practice you shouldn't remove portions of a template. Looks like you clipped

Did you add or update the examples/?

Templates (issues and pull requests) are usually there to help everyone interacting with you out :)

Looks like there are some failures in CI that need to be addressed.

@shellscape
Copy link
Contributor

shellscape commented Dec 18, 2017

Clicking on the Details link for Travis will show you the builds that failed. Looks like you didn't lint before pushing :)

@abcd-ca
Copy link
Contributor Author

abcd-ca commented Dec 18, 2017

@shellscape I added that missing part of the template. Next time I'll leave the template there and modify

@abcd-ca
Copy link
Contributor Author

abcd-ca commented Dec 18, 2017

@shellscape I can't see what it is that needs fixing exactly. I don't see anything I can click on to give me an explanation in the Travis CI error view

@abcd-ca
Copy link
Contributor Author

abcd-ca commented Dec 18, 2017

will re-issue pr to fix travis issue

@abcd-ca abcd-ca closed this Dec 18, 2017
@shellscape
Copy link
Contributor

shellscape commented Dec 18, 2017

@abcd-ca you don't have to reissue anything (please don't do that). you just need to run npm run test locally and push a fix to the same branch, as the error is in your code.

Here's the sequence in which you should click on Travis links
Imgur
Imgur

And here's the log in Travis that shows the error
Imgur

Always run npm run test before creating a PR for the project :)

@shellscape shellscape reopened this Dec 18, 2017
@abcd-ca
Copy link
Contributor Author

abcd-ca commented Dec 18, 2017

@shellscape thanks for reminding me to pull the repo and run tests before issuing PR. Pushed a fix. Once PR is merged, do you know how I update my project to get the fix? Never been clear on that as it seems you would maybe have to issue a new release and somehow master may not be current with npm but I'm not too sure how that all works.

@codecov
Copy link

codecov bot commented Dec 18, 2017

Codecov Report

Merging #1238 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1238   +/-   ##
=======================================
  Coverage   76.31%   76.31%           
=======================================
  Files           5        5           
  Lines         477      477           
  Branches      154      154           
=======================================
  Hits          364      364           
  Misses        113      113

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a168b81...aaca75c. Read the comment docs.

@shellscape
Copy link
Contributor

@abcd-ca thanks for your patience on this one. we've merged it.

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.

None yet

3 participants