p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
In the textWrap() function for parameter type checking, use FES p5._validateParameters() instead of manual checking and throwing error for a more recoverable state overall.
Also removed unit test that expects the function to throw an error on incorrect argument type.
Resolves #6997
Changes:
In the
textWrap()
function for parameter type checking, use FESp5._validateParameters()
instead of manual checking and throwing error for a more recoverable state overall.Also removed unit test that expects the function to throw an error on incorrect argument type.
PR Checklist
npm run lint
passes