Files
NativeScript/globals
Erjan Gavalji a824a38dff Add the __decorate function
Removing __extends function generation by setting the
noEmitHelpers flag we removed the __decorate as well.
While the __extends exists in the runtimes, __decorate
is an EcmaScript-related functionality, hence its place
is in the modules.
2015-07-29 15:49:26 +03:00
..
2015-07-29 15:49:26 +03:00
2015-03-03 10:34:40 +02:00
2014-05-12 14:25:03 +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.