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

Pts.version #17

Open
hpssjellis opened this issue May 14, 2018 · 3 comments
Open

Pts.version #17

hpssjellis opened this issue May 14, 2018 · 3 comments

Comments

@hpssjellis
Copy link

hpssjellis commented May 14, 2018

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

@hpssjellis hpssjellis changed the title Pt.version pts.version May 15, 2018
@hpssjellis hpssjellis changed the title pts.version Pts.version May 15, 2018
@williamngan
Copy link
Owner

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?

@hpssjellis
Copy link
Author

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.

@williamngan
Copy link
Owner

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! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants