Built motion from commit ec3ecc5.|1.0.2
[motion.git] / server / api / interval / interval.socket.js
index 002b4f0..8d53c6c 100644 (file)
@@ -1 +1 @@
-var _0x34ed=["\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"];_0x34ed[0];var Interval=require(_0x34ed[2])[_0x34ed[1]];exports[_0x34ed[3]]=function(_0xc311x2){Interval[_0x34ed[4]](function(_0xc311x3){onSave(_0xc311x2,_0xc311x3)});Interval[_0x34ed[5]](function(_0xc311x3){onRemove(_0xc311x2,_0xc311x3)});Interval[_0x34ed[6]](function(_0xc311x3){onUpdate(_0xc311x2,_0xc311x3)})};function onSave(_0xc311x2,_0xc311x3,_0xc311x5){_0xc311x2[_0x34ed[8]](_0x34ed[7],_0xc311x3)}function onRemove(_0xc311x2,_0xc311x3,_0xc311x5){_0xc311x2[_0x34ed[8]](_0x34ed[9],_0xc311x3)}function onUpdate(_0xc311x2,_0xc311x3,_0xc311x5){_0xc311x2[_0x34ed[8]](_0x34ed[10],_0xc311x3)}
\ No newline at end of file
+var _0x45f5=["\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"];_0x45f5[0];const IntervalEvents=require(_0x45f5[1]);var events=[_0x45f5[2],_0x45f5[3]];exports[_0x45f5[4]]= function(_0x848ex3){for(var _0x848ex4=0,_0x848ex5=events[_0x45f5[5]];_0x848ex4< _0x848ex5;_0x848ex4++){var _0x848ex6=events[_0x848ex4];var _0x848ex7=createListener(_0x45f5[6]+ _0x848ex6,_0x848ex3);IntervalEvents[_0x45f5[7]](_0x848ex6,_0x848ex7);_0x848ex3[_0x45f5[7]](_0x45f5[8],removeListener(_0x848ex6,_0x848ex7))}};function createListener(_0x848ex6,_0x848ex3){return function(_0x848ex9){_0x848ex3[_0x45f5[9]](_0x848ex6,_0x848ex9)}}function removeListener(_0x848ex6,_0x848ex7){return function(){IntervalEvents[_0x45f5[10]](_0x848ex6,_0x848ex7)}}
\ No newline at end of file