plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
16.9k stars 1.85k forks source link

export util function used to parse metasrc index #3520

Closed VeraZab closed 5 years ago

etpinard commented 5 years ago

You mean

https://github.com/plotly/plotly.js/blob/02e51d8f5ba5601f53ee3dc839ba05fb12c7f8a2/src/lib/index.js#L1012-L1024

?

That should be already available on Plotly.Lib in streambed.

VeraZab commented 5 years ago

Actually, it's this TEMPLATE_STRING_REGEX that would be nice to have. And since all the logic for this is in standalone RCE, then it would be nice to be able to do: import {TEMPLATE_STRING_REGEX} from 'plotly.js/src/lib';

etpinard commented 5 years ago

Cool. Wanna try to make a PR?

VeraZab commented 5 years ago

sure.. we can ship for the current deadline without this, but when I have a moment, I'll make a pr. thanks!

VeraZab commented 5 years ago

aww I wish this had been in the v1.44.4 release.. I didn't have time to do it..