Files
NativeScript/globals
Hristo Deshev 18c75d2ba1 Fix zone.js patches by avoiding multiple global moduleMerge's.
The previous implementation was calling moduleMerge multiple times for a
required module if it had more than one configured global lazy-loaded
functions/properties. We now keep tracked of merged modules and merge only
the first time.
2015-12-22 15:01:45 +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.