You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a huge deal but I was trying to compile plotly.js to ES2015 using google's closure compiler which was throwing an error of duplicate key "cool" on line 121905. I looked at all the other keys for the _$colorScale_104 dictionary and noticed that there was indeed another key called "cool" on line 121855. I was able to get it to compile by changing one of the key names but that seems kind of bad.
Activity
etpinard commentedon Apr 5, 2018
Looks like you're trying to compile one of our already minified bundles (those
$_???keys come frombrowser-pack-flat).It's probably best to compile un-minified code e.g.
dist/plotly.jsinstead ofdist/plotly.min.js.ToucanBran commentedon Apr 5, 2018
dist/plotly.js seems to show the same code (i.e. the _$colorScale_104 variable) and duplicate key, perhaps I'm missing something?
etpinard commentedon Apr 5, 2018
Oh right. We
browser-pack-flatthose too. My bad.etpinard commentedon Apr 17, 2018
@ToucanBran we just released new
dist/bundles. Can you confirm whether this problem persists?etpinard commentedon Apr 19, 2018
We dropped
browser-pack-flatin #2572So this issue should be resolved.