Skip to content

Commit 8125961

Browse files
authored
Merge pull request #8243 from perminder-17/noop-update
enhancing noop file to have error handeling.
2 parents 9738e0e + fb34db9 commit 8125961

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/noop.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
export default function(){}
1+
export default function (p5) {
2+
p5._friendlyError = () => {};
3+
p5._checkForUserDefinedFunctions = () => {};
4+
p5._fesErrorMonitor = () => {};
5+
}

0 commit comments

Comments
 (0)