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

Avoid duplicate keys in plotly builds #5458

Merged
merged 2 commits into from
Feb 2, 2021
Merged

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Feb 2, 2021

Fixes #5457.

bump colormap by reinstalling gl-cone3d, gl-mesh3d and gl-surface3d.

@plotly/plotly_js

@archmoj archmoj added this to the NEXT milestone Feb 2, 2021
@@ -33,6 +33,7 @@
"lint-fix": "eslint . --fix || true",
"no-new-func": "eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-new-func: error}' $(find dist -type f -iname '*.js' | grep -v plotly-gl* | grep -v plotly-with-meta.* | grep -v plotly.js | grep -v plotly.min.js | grep -v MathJax.js)",
"no-bad-char": "eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-misleading-character-class: error}' $(find dist -type f -iname '*.js' | grep plotly)",
"no-dup-keys": "eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-dupe-keys: error}' $(find dist -type f -iname '*.js' | grep plotly)",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we run this test on everything there are failures at:

plotly.js/dist/extras/mathjax/config/TeX-AMS-MML_SVG.js
  44:35070  error  Duplicate key '.'           
  49:6575   error  Duplicate key 'rowspacing'  

plotly.js/dist/extras/mathjax/extensions/TeX/AMSmath.js
  19:6575  error  Duplicate key 'rowspacing'  

plotly.js/dist/extras/mathjax/jax/element/mml/jax.js
  19:35070  error  Duplicate key '.'  

@archmoj archmoj changed the title Avoid Closure compiler warning for duplicate cool member Avoid duplicate keys in plotly builds Feb 2, 2021
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@archmoj archmoj merged commit 18ec98e into master Feb 2, 2021
@archmoj archmoj deleted the fix5457-duplicate-keys branch February 2, 2021 20:38
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.

Closure Compiler fails with duplicate member "cool" error
2 participants