-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(messaging): Remove non standard functions (setImmediate, clearImm… #25
Conversation
…ediate) Remove non standard set/clear Immediate and replace them with an animationFrame polyfill Signed-off-by: Gordon Smith <[email protected]>
Depending on what browsers you support, there may be no need for the polyfill at all (IOW you could assume that requiestAnimationFrame always exists)? |
The |
@afshin just to clarify, your closing because:
|
Yes, the browsers Lumino supports have |
Ok - works for me (FYI you will start to get TS syntax errors in the future - but a ts-ignore and suitable comment should be fine...) |
Can we add |
Probably - but not with the current TS compiler version. (I will test later today - slowly working through my forks diffs). |
Cool, thank you! |
Looks like there isn't a specific ts lib option for this. We can continue this discussion when I issue a PR for TSC 3.6.4 |
Cheers! |
…ediate)
Remove non standard set/clear Immediate and replace them with an animationFrame polyfill
Signed-off-by: Gordon Smith [email protected]