Bones/node_modules/browser-sync-ui/lib/transforms.js

11 lines
224 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
module.exports = {
"mode": function (obj) {
if (obj.get("server")) {
return "Server";
}
if (obj.get("proxy")) {
return "Proxy";
}
return "Snippet";
}
};