pts icon indicating copy to clipboard operation
pts copied to clipboard

Pts.version

Open hpssjellis opened this issue 6 years ago • 3 comments

Any chance you could make a Pts.version() method or Pts.version property

hpssjellis avatar May 14 '18 20:05 hpssjellis

Thanks for your feedback. It's a good point. I added a version string in the js file's header. ( https://github.com/williamngan/pts/blob/master/dist/pts.min.js )

Would that help, or do you have a specific use case where you need to access version number programmatically?

williamngan avatar May 15 '18 07:05 williamngan

I do like to access the version number programmatically. Presently I am making Machine Learning Tutorials using specific version numbers so that my tutorials always work, but I like to monitor the version number as in near the top of this page

By the way, I have been looking for a graphing program to go along with Machine Learning. Trying Vega-Lite, three.js and D3.js but Pts.js might be the best fit.

hpssjellis avatar May 15 '18 13:05 hpssjellis

Got it. I did a quick test with webpack DefinePlugin but cannot get it to work inside typescript. Let's keep this open and will take a look later on.

Thanks for giving Pts.js a try! 😃

williamngan avatar May 16 '18 07:05 williamngan