Built motion from commit 366410c.|0.0.27
[motion.git] / server / api / user_has_team / user_has_team.socket.js
1 var _0x106f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\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","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x106f[0];var user_has_team=require(_0x106f[2])[_0x106f[1]];exports[_0x106f[3]]=function(_0xb46cx2){user_has_team[_0x106f[4]](function(_0xb46cx3){onSave(_0xb46cx2,_0xb46cx3)});user_has_team[_0x106f[5]](function(_0xb46cx3){onRemove(_0xb46cx2,_0xb46cx3)});};function onSave(_0xb46cx2,_0xb46cx3,_0xb46cx5){_0xb46cx2[_0x106f[7]](_0x106f[6],_0xb46cx3)}function onRemove(_0xb46cx2,_0xb46cx3,_0xb46cx5){_0xb46cx2[_0x106f[7]](_0x106f[8],_0xb46cx3)}