You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK! Sounds like the fix is pretty straightforward: don't assume the existence of clearTimeout on all platforms.
I must admit I've never heard of NetSuite, and I've done virtually no work in Rhino before. I'll do a little research and (hopefully) come up with a solution that makes sense. I've been meaning to get a version 0.4.1 out the door soonish anyway.
Activity
dtao commentedon Jan 29, 2015
OK! Sounds like the fix is pretty straightforward: don't assume the existence of
clearTimeouton all platforms.I must admit I've never heard of NetSuite, and I've done virtually no work in Rhino before. I'll do a little research and (hopefully) come up with a solution that makes sense. I've been meaning to get a version 0.4.1 out the door soonish anyway.
ShawnTalbert commentedon Jan 30, 2015
My workaround was to just define clearTimeout(){} in some code before including lazy.js.
Look forward to 0.4.1 - Lazy is slowly replacing my previous favorite (lodash)!
mjwong commentedon Jun 23, 2015
You can try this:
https://gist.github.com/nbeloglazov/9633318
Works for me.
ShawnTalbert commentedon Nov 6, 2015
@mjwong thanks for the link, but unfortunately we don't get access to the underlying Rhino in NetSuite code. :(
@dtao is this resolved in 0.4.1 or 0.4.2?