1 line
554 B
JavaScript
1 line
554 B
JavaScript
(function(t,o,r){"use strict";function l(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}let i;var a=new(function(){function n(){l(this,n)}var e=n.prototype;return e.onLoad=function(){o.logger.log("Starting NoIdle..."),i=o.patcher.before("dispatch",r.FluxDispatcher,function(c){let[{type:u}]=c;if(u==="IDLE")return[{type:"IDLE",idle:!1}]})},e.onUnload=function(){o.logger.log("Disabling NoIdle.."),i?.()},n}());return t.default=a,Object.defineProperty(t,"__esModule",{value:!0}),t})({},vendetta,vendetta.metro.common);
|