-
Notifications
You must be signed in to change notification settings - Fork 493
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 global from window helpers #764
Conversation
Thanks for the PR. Do you know why this line lost coverage? https://codecov.io/gh/auth0/auth0.js/compare/5a531f5013e77b0185e645954e5b505ab61b16db...2966805bd0100ede52a9aef1e81dd21ba5347d68/changes |
I assume it's because of this change https://github.com/auth0/auth0.js/pull/764/files#diff-fa3d40d414115b7a8cf9ef99f7282b22R173, which I took as someone accidentally duplicated the line.s But I think it should be restored in a more explicit way, because popup_handler may return the current instance |
ahaha, yeah.. good catch! That's probably it, considering it's testing |
I've fixed it. Should go back to normal now. |
Thanks for the PR! 🎉 |
183: Update dependency auth0-js to v9.6.1 r=rehandalal a=renovate[bot] This Pull Request updates dependency [auth0-js](https://github.com/auth0/auth0.js) from `v9.6.0` to `v9.6.1` <details> <summary>Release Notes</summary> ### [`v9.6.1`](https://github.com/auth0/auth0.js/blob/master/CHANGELOG.md#v961httpsgithubcomauth0auth0jstreev961-2018-06-07) [Compare Source](auth0/auth0.js@v9.6.0...v9.6.1) [Full Changelog](auth0/auth0.js@v9.6.0...v9.6.1) **Fixed** - Remove global from window helpers [\#​764](`https://github.com/auth0/auth0.js/pull/764`) ([fetis]) --- </details> --- This PR has been generated by [Renovate Bot](https://renovatebot.com). Co-authored-by: Renovate Bot <bot@renovateapp.com>
thanks for merge |
This was already released in 9.6.1 🎉 |
Hello,
global
from window helpers to make it Angular 6 compatible.global
in the future (it does it automatically when encounters this variable).I left current testing approach intact (manually mock
window
object). I think in the future it can be replaced with JSDOM or similar implementationRelated issues #759 #755 #754 #753 #748