Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / faxQueue / faxQueue.events.js
index b475dbb..bd85919 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6220=['hasOwnProperty','hook','exports','events','../../mysqldb','setMaxListeners','update','emit'];(function(_0xaf62c7,_0x5b8b14){var _0x477c6c=function(_0x50dbab){while(--_0x50dbab){_0xaf62c7['push'](_0xaf62c7['shift']());}};_0x477c6c(++_0x5b8b14);}(_0x6220,0xdb));var _0x0622=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x6220[_0xfae23b];return _0x200640;};'use strict';var EventEmitter=require(_0x0622('0x0'));var FaxQueue=require(_0x0622('0x1'))['db']['FaxQueue'];var FaxQueueEvents=new EventEmitter();FaxQueueEvents[_0x0622('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x0622('0x3'),'afterDestroy':'remove'};function emitEvent(_0x2ab31a){return function(_0x4d80b3,_0x4e1837,_0x32d89f){FaxQueueEvents[_0x0622('0x4')](_0x2ab31a+':'+_0x4d80b3['id'],_0x4d80b3);FaxQueueEvents[_0x0622('0x4')](_0x2ab31a,_0x4d80b3);_0x32d89f(null);};}for(var e in events){if(events[_0x0622('0x5')](e)){var event=events[e];FaxQueue[_0x0622('0x6')](e,emitEvent(event));}}module[_0x0622('0x7')]=FaxQueueEvents;
\ No newline at end of file
+var _0x8bdd=['update','emit','hasOwnProperty','hook','exports','events','../../mysqldb','FaxQueue','setMaxListeners'];(function(_0x271281,_0x120ede){var _0xb95f53=function(_0x287295){while(--_0x287295){_0x271281['push'](_0x271281['shift']());}};_0xb95f53(++_0x120ede);}(_0x8bdd,0xf8));var _0xd8bd=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x8bdd[_0xa464c9];return _0x3d73c4;};'use strict';var EventEmitter=require(_0xd8bd('0x0'));var FaxQueue=require(_0xd8bd('0x1'))['db'][_0xd8bd('0x2')];var FaxQueueEvents=new EventEmitter();FaxQueueEvents[_0xd8bd('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0xd8bd('0x4'),'afterDestroy':'remove'};function emitEvent(_0x183cda){return function(_0x36676a,_0x3f341f,_0x3002fb){FaxQueueEvents[_0xd8bd('0x5')](_0x183cda+':'+_0x36676a['id'],_0x36676a);FaxQueueEvents['emit'](_0x183cda,_0x36676a);_0x3002fb(null);};}for(var e in events){if(events[_0xd8bd('0x6')](e)){var event=events[e];FaxQueue[_0xd8bd('0x7')](e,emitEvent(event));}}module[_0xd8bd('0x8')]=FaxQueueEvents;
\ No newline at end of file