-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix google passive error #267
base: master
Are you sure you want to change the base?
Conversation
Google 56 introduced passive mode to default be true. The script will throw errors
I support this PR.. get rid of there annoying errors! :) |
@pazguille Would be great if you could merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have this merged to master!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether the copy of the script in index.js also needs to be updated:
https://github.com/Mango/slideout/blob/master/index.js#L209
https://github.com/Mango/slideout/blob/master/index.js#L300
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code primarily needs to be fixed in index.js, the files in dist are compiled.
Also note that this issue has been fixed in v2 in the branch new-features
already, but that code hasn't been released in any way yet:
https://github.com/Mango/slideout/compare/new-features#diff-168726dbe96b3ce427e7fedce31bb0bcR237
Can this be patched for the current stable release so we can improve lighthouse speeds? |
Google 56 introduced passive mode to default be true. The script will
throw errors