mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Removed unused code
This commit is contained in:
parent
8f2a0b63d9
commit
ec43fc4fe2
@ -46,15 +46,6 @@ function filterNodeInfo(n) {
|
||||
return r;
|
||||
}
|
||||
|
||||
function isEmpty(obj) {
|
||||
for(var prop in obj) {
|
||||
if(obj.hasOwnProperty(prop)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function getModule(id) {
|
||||
return id.split("/")[0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user