Built motion from commit b33b832.|1.0.17
[motion.git] / server / api / variable / variable.socket.js
index 06e740b..151206d 100644 (file)
@@ -1 +1 @@
-var _0xcfcc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x61\x72\x69\x61\x62\x6C\x65","\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","\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xcfcc[0];var Variable=require(_0xcfcc[2])[_0xcfcc[1]];exports[_0xcfcc[3]]=function(_0x5a16x2){Variable[_0xcfcc[4]](function(_0x5a16x3){onSave(_0x5a16x2,_0x5a16x3)});Variable[_0xcfcc[5]](function(_0x5a16x3){onRemove(_0x5a16x2,_0x5a16x3)})};function onSave(_0x5a16x2,_0x5a16x3,_0x5a16x5){_0x5a16x2[_0xcfcc[7]](_0xcfcc[6],_0x5a16x3)}function onRemove(_0x5a16x2,_0x5a16x3,_0x5a16x5){_0x5a16x2[_0xcfcc[7]](_0xcfcc[8],_0x5a16x3)}
\ No newline at end of file
+var _0xb4b6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\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","\x76\x61\x72\x69\x61\x62\x6C\x65\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"];_0xb4b6[0];const VariableEvents=require(_0xb4b6[1]);var events=[_0xb4b6[2],_0xb4b6[3]];exports[_0xb4b6[4]]= function(_0x6640x3){for(var _0x6640x4=0,_0x6640x5=events[_0xb4b6[5]];_0x6640x4< _0x6640x5;_0x6640x4++){var _0x6640x6=events[_0x6640x4];var _0x6640x7=createListener(_0xb4b6[6]+ _0x6640x6,_0x6640x3);VariableEvents[_0xb4b6[7]](_0x6640x6,_0x6640x7);_0x6640x3[_0xb4b6[7]](_0xb4b6[8],removeListener(_0x6640x6,_0x6640x7))}};function createListener(_0x6640x6,_0x6640x3){return function(_0x6640x9){_0x6640x3[_0xb4b6[9]](_0x6640x6,_0x6640x9)}}function removeListener(_0x6640x6,_0x6640x7){return function(){VariableEvents[_0xb4b6[10]](_0x6640x6,_0x6640x7)}}
\ No newline at end of file