Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / voicePrefix / voicePrefix.events.js
index ca152b8..25b8096 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9e0=['hasOwnProperty','hook','exports','events','../../mysqldb','VoicePrefix','update','emit'];(function(_0x4fc9e6,_0xc51915){var _0x551d28=function(_0x1a603b){while(--_0x1a603b){_0x4fc9e6['push'](_0x4fc9e6['shift']());}};_0x551d28(++_0xc51915);}(_0xa9e0,0x123));var _0x0a9e=function(_0x9df060,_0x253d33){_0x9df060=_0x9df060-0x0;var _0x338dfe=_0xa9e0[_0x9df060];return _0x338dfe;};'use strict';var EventEmitter=require(_0x0a9e('0x0'));var VoicePrefix=require(_0x0a9e('0x1'))['db'][_0x0a9e('0x2')];var VoicePrefixEvents=new EventEmitter();VoicePrefixEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x0a9e('0x3'),'afterDestroy':'remove'};function emitEvent(_0x333808){return function(_0x432180,_0x2ab90b,_0x991246){VoicePrefixEvents[_0x0a9e('0x4')](_0x333808+':'+_0x432180['id'],_0x432180);VoicePrefixEvents['emit'](_0x333808,_0x432180);_0x991246(null);};}for(var e in events){if(events[_0x0a9e('0x5')](e)){var event=events[e];VoicePrefix[_0x0a9e('0x6')](e,emitEvent(event));}}module[_0x0a9e('0x7')]=VoicePrefixEvents;
\ No newline at end of file
+var _0x5738=['hasOwnProperty','hook','events','../../mysqldb','setMaxListeners','save','update','remove','emit'];(function(_0x4b328e,_0x526e3c){var _0x574290=function(_0x2d2c20){while(--_0x2d2c20){_0x4b328e['push'](_0x4b328e['shift']());}};_0x574290(++_0x526e3c);}(_0x5738,0x1cd));var _0x8573=function(_0x1d20e5,_0x3d4f74){_0x1d20e5=_0x1d20e5-0x0;var _0x14c8d3=_0x5738[_0x1d20e5];return _0x14c8d3;};'use strict';var EventEmitter=require(_0x8573('0x0'));var VoicePrefix=require(_0x8573('0x1'))['db']['VoicePrefix'];var VoicePrefixEvents=new EventEmitter();VoicePrefixEvents[_0x8573('0x2')](0x0);var events={'afterCreate':_0x8573('0x3'),'afterUpdate':_0x8573('0x4'),'afterDestroy':_0x8573('0x5')};function emitEvent(_0x147cf7){return function(_0x364926,_0x4edcc8,_0x11a792){VoicePrefixEvents[_0x8573('0x6')](_0x147cf7+':'+_0x364926['id'],_0x364926);VoicePrefixEvents[_0x8573('0x6')](_0x147cf7,_0x364926);_0x11a792(null);};}for(var e in events){if(events[_0x8573('0x7')](e)){var event=events[e];VoicePrefix[_0x8573('0x8')](e,emitEvent(event));}}module['exports']=VoicePrefixEvents;
\ No newline at end of file