MCPcopy Create free account
hub / github.com/plotly/dash / createMicrosoftUnsafeLocalFunction

Function createMicrosoftUnsafeLocalFunction

dash/deps/react-dom@18.3.1.js:2393–2403  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

2391 * Create a function which has 'unsafe' privileges (required by windows8 apps)
2392 */
2393 var createMicrosoftUnsafeLocalFunction = function (func) {
2394 if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {
2395 return function (arg0, arg1, arg2, arg3) {
2396 MSApp.execUnsafeLocalFunction(function () {
2397 return func(arg0, arg1, arg2, arg3);
2398 });
2399 };
2400 } else {
2401 return func;
2402 }
2403 };
2404
2405 var reusableSVGContainer;
2406 /**

Callers 1

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…