mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-22 09:09:09 +00:00
11 lines
224 B
JavaScript
11 lines
224 B
JavaScript
![]() |
module.exports = {
|
||
|
"mode": function (obj) {
|
||
|
if (obj.get("server")) {
|
||
|
return "Server";
|
||
|
}
|
||
|
if (obj.get("proxy")) {
|
||
|
return "Proxy";
|
||
|
}
|
||
|
return "Snippet";
|
||
|
}
|
||
|
};
|