MCPcopy
hub / github.com/microsoft/SandDance / _getGlobalSettings

Function _getGlobalSettings

docs/app/js/sanddance-app.js:22971–22978  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22969}();
22970// eslint-disable-next-line @typescript-eslint/no-explicit-any
22971function _getGlobalSettings() {
22972 var _a;
22973 var win = (0, _getWindow.getWindow)();
22974 // eslint-disable-next-line @typescript-eslint/no-explicit-any
22975 var globalObj = win || {};
22976 if (!globalObj[GLOBAL_SETTINGS_PROP_NAME]) globalObj[GLOBAL_SETTINGS_PROP_NAME] = (_a = {}, _a[CALLBACK_STATE_PROP_NAME] = {}, _a);
22977 return globalObj[GLOBAL_SETTINGS_PROP_NAME];
22978}
22979function _getCallbacks() {
22980 var globalSettings = _getGlobalSettings();
22981 return globalSettings[CALLBACK_STATE_PROP_NAME];

Callers 2

sanddance-app.jsFile · 0.85
_getCallbacksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected