Built motion from commit 27e0a5d.|1.0.8
[motion.git] / server / api / interval / interval.socket.js
index 42ef11b..e2999fe 100644 (file)
@@ -1 +1 @@
-var _0xbb1d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x75\x70\x64\x61\x74\x65"];_0xbb1d[0];var Interval=require(_0xbb1d[2])[_0xbb1d[1]];exports[_0xbb1d[3]]=function(_0xf629x2){Interval[_0xbb1d[4]](function(_0xf629x3){onSave(_0xf629x2,_0xf629x3)});Interval[_0xbb1d[5]](function(_0xf629x3){onRemove(_0xf629x2,_0xf629x3)});Interval[_0xbb1d[6]](function(_0xf629x3){onUpdate(_0xf629x2,_0xf629x3)})};function onSave(_0xf629x2,_0xf629x3,_0xf629x5){_0xf629x2[_0xbb1d[8]](_0xbb1d[7],_0xf629x3)}function onRemove(_0xf629x2,_0xf629x3,_0xf629x5){_0xf629x2[_0xbb1d[8]](_0xbb1d[9],_0xf629x3)}function onUpdate(_0xf629x2,_0xf629x3,_0xf629x5){_0xf629x2[_0xbb1d[8]](_0xbb1d[10],_0xf629x3)}
\ No newline at end of file
+var _0x61da=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x61da[0];const IntervalEvents=require(_0x61da[1]);var events=[_0x61da[2],_0x61da[3]];exports[_0x61da[4]]= function(_0xb68cx3){for(var _0xb68cx4=0,_0xb68cx5=events[_0x61da[5]];_0xb68cx4< _0xb68cx5;_0xb68cx4++){var _0xb68cx6=events[_0xb68cx4];var _0xb68cx7=createListener(_0x61da[6]+ _0xb68cx6,_0xb68cx3);IntervalEvents[_0x61da[7]](_0xb68cx6,_0xb68cx7);_0xb68cx3[_0x61da[7]](_0x61da[8],removeListener(_0xb68cx6,_0xb68cx7))}};function createListener(_0xb68cx6,_0xb68cx3){return function(_0xb68cx9){_0xb68cx3[_0x61da[9]](_0xb68cx6,_0xb68cx9)}}function removeListener(_0xb68cx6,_0xb68cx7){return function(){IntervalEvents[_0x61da[10]](_0xb68cx6,_0xb68cx7)}}
\ No newline at end of file