Skip to content

supplyTransformDefaults to fill in missing transformModules #1568

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

Merged
merged 2 commits into from
Apr 7, 2017

Conversation

rreusser
Copy link
Contributor

@rreusser rreusser commented Apr 7, 2017

fullLayout is sometimes an empty object. This fixes an assumption that layout._transformModules is definitely defined.

@etpinard
Copy link
Contributor

etpinard commented Apr 7, 2017

Looks good. Would you mind adding a test in plots_test.js to 🔒 this down?

@rreusser
Copy link
Contributor Author

rreusser commented Apr 7, 2017

Added. Testing this in isolation meant exporting supplyTransformDefaults, which is probably preferable to testing a bigger chunk of code to get at this one behavior. 🔒

@etpinard
Copy link
Contributor

etpinard commented Apr 7, 2017

💃 when tests ✅

@etpinard etpinard added the bug something broken label Apr 7, 2017
@etpinard etpinard added this to the v1.26.0 milestone Apr 7, 2017
@rreusser rreusser merged commit d3bd87f into master Apr 7, 2017
@rreusser rreusser deleted the fix-supply-transform-defaults branch April 7, 2017 19:52
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.

2 participants