Skip to content

Conversation

web-bert
Copy link
Contributor

After looking at the requestAnimationFrame polyfill I noticed that it would be leaking global vars as it's not wrapped in an IIFE. As the closure will be around for the life of the page, I have also nulled out the temporary vars.

@rreusser
Copy link
Contributor

rreusser commented Oct 14, 2016

It was originally a commonjs export, so I clearly forgot it would be included directly when moving it to its final destination. Thanks for catching!

@etpinard etpinard added bug something broken status: reviewable labels Oct 14, 2016
@etpinard
Copy link
Contributor

Thanks @web-bert

@etpinard etpinard merged commit 9cb81ed into plotly:master Oct 14, 2016
@web-bert
Copy link
Contributor Author

Glad to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants