Files
Eduardo Speroni 2aa6e9bf92 feat: support requestAnimationFrame (#8112)
* feat: support requestAnimationFrame

* add native helpers to measure time

* test(animation-frame): add tests

* chore: refactor animation-frame to its own module

* chore: fix tslint
2019-11-29 11:17:26 +02:00
..
2019-10-17 00:45:33 +03:00
2019-10-17 00:45:33 +03:00
2019-10-17 00:45:33 +03:00
2019-10-17 00:45:33 +03:00
2019-10-17 00:45:33 +03:00
2019-10-17 00:45:33 +03:00

Globals module for defining functions part of the global context - you need only to call require for this module and all globals will be registered. For example:

    require("globals");

	setTimeout(function(){ console.log("Test"); }, 2000);

Global functions/objects are: setTimeout, clearTimeout, setInterval, clearInterval and console.