Built motion from commit b87691d.|0.0.53
[motion.git] / server / api / trunk / trunk.socket.js
1 var _0x9e77=["\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"];_0x9e77[0];var Trunk=require(_0x9e77[2])[_0x9e77[1]];exports[_0x9e77[3]]=function(_0x465fx2){Trunk[_0x9e77[4]](function(_0x465fx3){onSave(_0x465fx2,_0x465fx3)});Trunk[_0x9e77[5]](function(_0x465fx3){onRemove(_0x465fx2,_0x465fx3)});Trunk[_0x9e77[9]](function(_0x465fx3){if(_0x465fx3[_0x9e77[7]](_0x9e77[6])){throw  new Error(_0x9e77[8])}})};function onSave(_0x465fx2,_0x465fx3,_0x465fx5){_0x465fx2[_0x9e77[11]](_0x9e77[10],_0x465fx3)}function onRemove(_0x465fx2,_0x465fx3,_0x465fx5){_0x465fx2[_0x9e77[11]](_0x9e77[12],_0x465fx3)}