Built motion from commit 52217b3.|0.0.93
[motion.git] / server / api / trunk / trunk.socket.js
1 var _0xad52=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x72\x75\x6E\x6B","\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","\x6E\x61\x6D\x65","\x63\x68\x61\x6E\x67\x65\x64","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x74\x72\x75\x6E\x6B\x20\x6E\x61\x6D\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x72\x75\x6E\x6B\x3A\x72\x65\x6D\x6F\x76\x65"];_0xad52[0];var Trunk=require(_0xad52[2])[_0xad52[1]];exports[_0xad52[3]]=function(_0x974fx2){Trunk[_0xad52[4]](function(_0x974fx3){onSave(_0x974fx2,_0x974fx3)});Trunk[_0xad52[5]](function(_0x974fx3){onRemove(_0x974fx2,_0x974fx3)});Trunk[_0xad52[9]](function(_0x974fx3){if(_0x974fx3[_0xad52[7]](_0xad52[6])){throw  new Error(_0xad52[8])}})};function onSave(_0x974fx2,_0x974fx3,_0x974fx5){_0x974fx2[_0xad52[11]](_0xad52[10],_0x974fx3)}function onRemove(_0x974fx2,_0x974fx3,_0x974fx5){_0x974fx2[_0xad52[11]](_0xad52[12],_0x974fx3)}