Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / faxAccount / faxAccount.events.js
index 402ed48..43097af 100644 (file)
@@ -1 +1 @@
-const a223_0x305f=['undefined','addHook','emit','remove','exports','events','FaxAccount','save'];(function(_0x1778c7,_0x34a1ca){const _0x305fcb=function(_0x4ab117){while(--_0x4ab117){_0x1778c7['push'](_0x1778c7['shift']());}};_0x305fcb(++_0x34a1ca);}(a223_0x305f,0xf8));const a223_0x4ab1=function(_0x1778c7,_0x34a1ca){_0x1778c7=_0x1778c7-0x146;let _0x305fcb=a223_0x305f[_0x1778c7];return _0x305fcb;};const a223_0x3cb1bb=a223_0x4ab1;'use strict';const EventEmitter=require(a223_0x3cb1bb(0x14b)),FaxAccount=require('../../mysqldb')['db'][a223_0x3cb1bb(0x14c)],FaxAccountEvents=new EventEmitter();FaxAccountEvents['setMaxListeners'](0x0);const events={'afterCreate':a223_0x3cb1bb(0x14d),'afterUpdate':'update','afterDestroy':a223_0x3cb1bb(0x149)};function emitEvent(_0x5b21ff){return function(_0x2a6470){const _0x2aa41d=a223_0x4ab1;FaxAccountEvents[_0x2aa41d(0x148)](_0x5b21ff+':'+_0x2a6470['id'],_0x2a6470),FaxAccountEvents[_0x2aa41d(0x148)](_0x5b21ff,_0x2a6470);};}for(const e in events){if(typeof events[e]!==a223_0x3cb1bb(0x146)){const event=events[e];FaxAccount[a223_0x3cb1bb(0x147)](e,emitEvent(event));}}module[a223_0x3cb1bb(0x14a)]=FaxAccountEvents;
\ No newline at end of file
+const a223_0x236c=['undefined','exports','save','FaxAccount','addHook','remove','emit','../../mysqldb','update','setMaxListeners','events'];(function(_0x1fb655,_0x1f4422){const _0x236c64=function(_0x14241){while(--_0x14241){_0x1fb655['push'](_0x1fb655['shift']());}};_0x236c64(++_0x1f4422);}(a223_0x236c,0x138));const a223_0x1424=function(_0x1fb655,_0x1f4422){_0x1fb655=_0x1fb655-0x84;let _0x236c64=a223_0x236c[_0x1fb655];return _0x236c64;};const a223_0x3f9255=a223_0x1424;'use strict';const EventEmitter=require(a223_0x3f9255(0x8a)),FaxAccount=require(a223_0x3f9255(0x87))['db'][a223_0x3f9255(0x8e)],FaxAccountEvents=new EventEmitter();FaxAccountEvents[a223_0x3f9255(0x89)](0x0);const events={'afterCreate':a223_0x3f9255(0x8d),'afterUpdate':a223_0x3f9255(0x88),'afterDestroy':a223_0x3f9255(0x85)};function emitEvent(_0x23219c){return function(_0x181f99){const _0xa17e79=a223_0x1424;FaxAccountEvents['emit'](_0x23219c+':'+_0x181f99['id'],_0x181f99),FaxAccountEvents[_0xa17e79(0x86)](_0x23219c,_0x181f99);};}for(const e in events){if(typeof events[e]!==a223_0x3f9255(0x8b)){const event=events[e];FaxAccount[a223_0x3f9255(0x84)](e,emitEvent(event));}}module[a223_0x3f9255(0x8c)]=FaxAccountEvents;
\ No newline at end of file