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

ReferenceError: QuickSettings is not defined #8

Open
Sphelex opened this issue Jul 16, 2017 · 1 comment
Open

ReferenceError: QuickSettings is not defined #8

Sphelex opened this issue Jul 16, 2017 · 1 comment

Comments

@Sphelex
Copy link

Sphelex commented Jul 16, 2017

Hello, im having a problem with quicksettings.

I keep getting this error:

ReferenceError: QuickSettings is not defined
at p5.gui.js:132
at p5.gui.js:207

code:
gui = createGui("stats"); gui.addGlobals("count", "generation"); noLoop();

When creating only the gui, everything works fine. But when adding globals the error comes up.

craftoid added a commit that referenced this issue Jul 28, 2017
@craftoid
Copy link
Member

Hey @Sphelex, I can't reproduce this. I have set up a working example on the dev branch. You can try it out here.

Maybe you forgot to include quickesettings.js in the <head> section of your html?
Please note that order matters: you have to include quicksettings.js first, p5.gui.js second.

If the problem persists, please post the full source code, browser and OS, so I can dig deeper.

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