Closed KatieWoe closed 3 years ago
The replaceAll
call was added by @jessegreenberg in https://github.com/phetsims/sun/commit/ea2451af4f1ae912d5711f37889cc6d56d289ef1. I'm not sure why it's only showing up in projectile-motion, but since this commit appears to have introduced the problem, I thought we'd start there. @jessegreenberg - please assign back to me if you come to believe that this is a sim-specific problem.
https://github.com/phetsims/sun/issues/664 is the cause of this. Sorry it took so long for me to get to it. It is likely because puppeteer doesn't support String.prototype.replaceAll
. I think this should fix it. @jessegreenberg will you review?
Using the regex looks good to replace here, thanks!