I don't understand why you are overriding window functions in _init method, instead of creating and exposing wrappers on those.
It's a potential disaster for libraries that use them.
e.g. the requestAnimationFrame implementation messes with the DOMHighResTimeStamp parameter value and breaks any existing code that is running it.
I don't understand why you are overriding window functions in _init method, instead of creating and exposing wrappers on those. It's a potential disaster for libraries that use them. e.g. the requestAnimationFrame implementation messes with the DOMHighResTimeStamp parameter value and breaks any existing code that is running it.