Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / smsMessage / smsMessage.socket.js
index c9cfa54..de217f2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xae24=['removeListener','length','smsMessage:','./smsMessage.events','remove','emit'];(function(_0x373059,_0x17b09c){var _0x368f67=function(_0xccc46c){while(--_0xccc46c){_0x373059['push'](_0x373059['shift']());}};_0x368f67(++_0x17b09c);}(_0xae24,0x105));var _0x4ae2=function(_0x37d5b0,_0x35172f){_0x37d5b0=_0x37d5b0-0x0;var _0x2775f3=_0xae24[_0x37d5b0];return _0x2775f3;};'use strict';var SmsMessageEvents=require(_0x4ae2('0x0'));var events=['save',_0x4ae2('0x1'),'update'];function createListener(_0x77659a,_0x20d15b){return function(_0x50cd52){_0x20d15b[_0x4ae2('0x2')](_0x77659a,_0x50cd52);};}function removeListener(_0x37a988,_0x2c643d){return function(){SmsMessageEvents[_0x4ae2('0x3')](_0x37a988,_0x2c643d);};}exports['register']=function(_0x251a68){for(var _0x2ef4f3=0x0,_0x4c1386=events[_0x4ae2('0x4')];_0x2ef4f3<_0x4c1386;_0x2ef4f3++){var _0x5003f7=events[_0x2ef4f3];var _0x3cbdf9=createListener(_0x4ae2('0x5')+_0x5003f7,_0x251a68);SmsMessageEvents['on'](_0x5003f7,_0x3cbdf9);}};
\ No newline at end of file
+var _0xe851=['smsMessage:','./smsMessage.events','remove','update','emit','register','length'];(function(_0x2b5eae,_0x55010d){var _0x5f3ac9=function(_0x397bfc){while(--_0x397bfc){_0x2b5eae['push'](_0x2b5eae['shift']());}};_0x5f3ac9(++_0x55010d);}(_0xe851,0x1c8));var _0x1e85=function(_0x3adbfe,_0x46854c){_0x3adbfe=_0x3adbfe-0x0;var _0x155bc5=_0xe851[_0x3adbfe];return _0x155bc5;};'use strict';var SmsMessageEvents=require(_0x1e85('0x0'));var events=['save',_0x1e85('0x1'),_0x1e85('0x2')];function createListener(_0x5e0dd4,_0x2cf7a8){return function(_0xc0181a){_0x2cf7a8[_0x1e85('0x3')](_0x5e0dd4,_0xc0181a);};}function removeListener(_0x2bbc0f,_0x28ce65){return function(){SmsMessageEvents['removeListener'](_0x2bbc0f,_0x28ce65);};}exports[_0x1e85('0x4')]=function(_0x54dcea){for(var _0x4c6d35=0x0,_0x11ddfa=events[_0x1e85('0x5')];_0x4c6d35<_0x11ddfa;_0x4c6d35++){var _0x3bc202=events[_0x4c6d35];var _0x3030cb=createListener(_0x1e85('0x6')+_0x3bc202,_0x54dcea);SmsMessageEvents['on'](_0x3bc202,_0x3030cb);}};
\ No newline at end of file