-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
BugError or unexpected behaviorsError or unexpected behaviors
Description
p5.js version
1.11.1
What is your operating system?
Mac OS
Web browser and version
133.0.6943.127 (Official Build) (arm64)
Actual Behavior
- open https://editor.p5js.org/jht9629-nyu/sketches/VY-KQxJkA
- run
- error appears in console:
- "RangeError: Maximum call stack size exceeded"
Expected Behavior
- comment out DOM.js include in index.html
- run script and console now shows expected messages:
pre setup
in setup
in draw
Steps to reproduce
Steps:
- open https://editor.p5js.org/jht9629-nyu/sketches/VY-KQxJkA
- run
- error appears in console:
- "RangeError: Maximum call stack size exceeded"
Snippet:
Just the include of lenincompres/DOM.js causes simple console.log fails, eg:
function setup() {
console.log('in setup');
}
DOM.js is a library by lenincompres included in the index.html
<script src="https://cdn.jsdelivr.net/gh/lenincompres/DOM.js@latest/DOM.js"></script>
Issue is also logged on his repo for the library:
lenincompres/DOM.js - console.log failure issue
Metadata
Metadata
Assignees
Labels
BugError or unexpected behaviorsError or unexpected behaviors