1 |
- {"ast":null,"code":"import { IsWindowObjectExist } from \"./domManagement.js\";\n/**\n * Class used to provide helper for timing\n */\nexport class TimingTools {\n /**\n * Polyfill for setImmediate\n * @param action defines the action to execute after the current execution block\n */\n static SetImmediate(action) {\n if (IsWindowObjectExist() && window.setImmediate) {\n // Note - deprecated and should not be used directly. Not supported in any browser.\n window.setImmediate(action);\n } else {\n setTimeout(action, 1);\n }\n }\n}","map":{"version":3,"names":["IsWindowObjectExist","TimingTools","SetImmediate","action","window","setImmediate","setTimeout"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Misc/timingTools.js"],"sourcesContent":["import { IsWindowObjectExist } from \"./domManagement.js\";\n/**\n * Class used to provide helper for timing\n */\nexport class TimingTools {\n /**\n * Polyfill for setImmediate\n * @param action defines the action to execute after the current execution block\n */\n static SetImmediate(action) {\n if (IsWindowObjectExist() && window.setImmediate) {\n // Note - deprecated and should not be used directly. Not supported in any browser.\n window.setImmediate(action);\n }\n else {\n setTimeout(action, 1);\n }\n }\n}\n"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,oBAAoB;AACxD;AACA;AACA;AACA,OAAO,MAAMC,WAAW,CAAC;EACrB;AACJ;AACA;AACA;EACI,OAAOC,YAAYA,CAACC,MAAM,EAAE;IACxB,IAAIH,mBAAmB,CAAC,CAAC,IAAII,MAAM,CAACC,YAAY,EAAE;MAC9C;MACAD,MAAM,CAACC,YAAY,CAACF,MAAM,CAAC;IAC/B,CAAC,MACI;MACDG,UAAU,CAACH,MAAM,EAAE,CAAC,CAAC;IACzB;EACJ;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|