UNPKG

xstate

Version:

Finite State Machines and Statecharts for the Modern Web.

3 lines (2 loc) 626 B
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).XStateDev={})}(this,(function(e){"use strict";function t(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window}function n(){const e=t();if(e.__xstate__)return e.__xstate__}e.devToolsAdapter=e=>{const t=n();t&&t.register(e)},e.getGlobal=t,e.registerService=function(e){const t=n();t&&t.register(e)},Object.defineProperty(e,"__esModule",{value:!0})})); //# sourceMappingURL=xstate-dev.umd.min.js.map