P5.js: I can't load p5.dom.js properly!!

Created on 5 Jun 2017  路  5Comments  路  Source: processing/p5.js

when I try to load p5.dom.js it says:

Uncaught TypeError: Cannot read property 'prototype' of undefined
at p5.dom.js:71
at p5.dom.js:34
at p5.dom.js:35
(anonymous) @ p5.dom.js:71
(anonymous) @ p5.dom.js:34
(anonymous) @ p5.dom.js:35
sketch.js:67 Uncaught TypeError: boost.hide is not a function
at draw (sketch.js:67)
at e.d.redraw (p5.min.js:6)
at e. (p5.min.js:4)
at e. (p5.min.js:4)
at new e (p5.min.js:5)
at e (p5.min.js:4)
draw @ sketch.js:67
d.redraw @ p5.min.js:6
(anonymous) @ p5.min.js:4
(anonymous) @ p5.min.js:4
e @ p5.min.js:5
e @ p5.min.js:4

Most helpful comment

For what it's worth, it seemed to go away when I switched the script tag order. First, p5. Then, p5.dom

All 5 comments

@stavzog there probably a problem with a variable called boost in your code. Please post this question in the forum instead as github issues are more for feature requests and bug tracking. Thanks

i am acing this problem too . any update ?

hi @vamshi9666 please post in the forum for more help:
https://forum.processing.org/two/

For what it's worth, it seemed to go away when I switched the script tag order. First, p5. Then, p5.dom

@marcrleonard That worked for me too.Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stalgiag picture stalgiag  路  3Comments

ogoossens picture ogoossens  路  3Comments

kartikay-bagla picture kartikay-bagla  路  3Comments

slowizzm picture slowizzm  路  3Comments

stalgiag picture stalgiag  路  3Comments