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

Updated p5 library #94

Open
shiffman opened this issue Jan 7, 2016 · 2 comments
Open

Updated p5 library #94

shiffman opened this issue Jan 7, 2016 · 2 comments

Comments

@shiffman
Copy link

shiffman commented Jan 7, 2016

I guess there's a larger question of how the p5.js library gets updated. But for now, it would be great to make sure the most recent (0.4.21) is used as there's a key transformation bug that is causing some confusion.

@therewasaguy
Copy link
Owner

At the moment, here's where we're setting the default files IDs for new projects:
f9caf0f

We can update by creating a new project, pasting the latest version of p5, saving the project, getting the ID of the new p5 file, and replacing it the default ID in pfile.js.

I started looking into automatic updates a while back

// File.prototype.setContentsFromLatestP5 = function(fileName) {

That's how we'd get the latest version of the library, but gotta think about the best way to integrate this...

@shiffman
Copy link
Author

shiffman commented Jan 8, 2016

Ah, thanks I understand better now. I think maybe it makes sense to table this discussion and update manually right now with your temporary solution until we sort out exactly how we will handle file systems (i.e. #100).

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

No branches or pull requests

2 participants