mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 18:49:27 +08:00
2 lines
907 B
JavaScript
2 lines
907 B
JavaScript
(()=>{var w=Object.defineProperty;var l=n=>w(n,"__esModule",{value:!0});var e=(n,o)=>{l(n);for(var t in o)w(n,t,{get:o[t],enumerable:!0})};var i={};e(i,{LogDebug:()=>g,LogError:()=>f,LogFatal:()=>c,LogInfo:()=>a,LogTrace:()=>p,LogWarning:()=>m});function p(n){window.runtime.LogTrace(n)}function g(n){window.runtime.LogDebug(n)}function a(n){window.runtime.LogInfo(n)}function m(n){window.runtime.LogWarning(n)}function f(n){window.runtime.LogError(n)}function c(n){window.runtime.LogFatal(n)}var r={};e(r,{EventsEmit:()=>x,EventsOn:()=>s,EventsOnMultiple:()=>d,EventsOnce:()=>L});function d(n,o,t){window.runtime.EventsOnMultiple(n,o,t)}function s(n,o){OnMultiple(n,o,-1)}function L(n,o){OnMultiple(n,o,1)}function x(n){let o=[n].slice.call(arguments);return window.runtime.EventsEmit.apply(null,o)}var u={};e(u,{WindowReload:()=>E});function E(){window.runtime.WindowReload()}var O={...i,...r,...u};})();
|