mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* fix: require devtools-elements.js with the extension mentioned explicitly (#6079) This is a workaround for the issue with `@ngtools/webpack@6.1.0-rc.2`, described here: https://github.com/NativeScript/nativescript-dev-webpack/issues/607#issuecomment-405209925 * release: cut the 4.1.1 release * chore: Fix TS transpile error with 2.9 (#5906)
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.