UNPKG

wonder.js

Version:
17 lines (13 loc) 709 B
'use strict'; var OperateLoadMainService$Wonderjs = require("../../service/state/main/load/OperateLoadMainService.js"); var OperateScriptEventFunctionDataMainService$Wonderjs = require("../../service/state/main/script/OperateScriptEventFunctionDataMainService.js"); function exec(state) { var match = OperateLoadMainService$Wonderjs.getCanExecScriptAllEventFunction(state); if (match) { return OperateScriptEventFunctionDataMainService$Wonderjs.execAllEventFunction(OperateScriptEventFunctionDataMainService$Wonderjs.getAllActiveInitEventFunctionData(state), state); } else { return state; } } exports.exec = exec; /* OperateScriptEventFunctionDataMainService-Wonderjs Not a pure module */