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

p5bots file naming discrepancy in HelloWorld.md #28

Open
ncmikkelsen opened this issue Jun 19, 2018 · 1 comment
Open

p5bots file naming discrepancy in HelloWorld.md #28

ncmikkelsen opened this issue Jun 19, 2018 · 1 comment

Comments

@ncmikkelsen
Copy link

The HelloWorld guide makes a reference to the p5bots file being named p5.bots.js while the code snippet for the index.html references a file named p5bots.js.

This makes the example throw a TypeError: p5.board is not a function and a TypeError: b is undefined. It's a simple fix just renaming either the file itself or the reference to the file but I suspect this could cause issues for beginners.

@ncmikkelsen
Copy link
Author

I realize that this is only an issue because the file doesn't download automatically (atleast for me it didn't) but just displays the content of the file in the browser.

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

1 participant