FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

NativeScript/tns-core-modules/globals/Readme.md at patch-3 · hettiger/NativeScript · GitHub

Repository navigation

Latest commit

 

History

History
9 lines (6 loc) · 355 Bytes
  1. NativeScript
  2. tns-core-modules
  3. globals

Readme.md

File metadata and controls

9 lines (6 loc) · 355 Bytes

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.


Back | FazBrowse Home | New Git URL