Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
inflow.each({},devices,function(device,key)
{
next=this;
//change the structure from arrays to objects
if(device.group===undefined)
{
// fallback devices do not contain group
//console.log(require('sys').inspect(device,true,3));
}
else
{
for(var n=0,l=device.group.length;n
{
next=this;
//change the structure from arrays to objects
if(device.group===undefined)
{
// fallback devices do not contain group
//console.log(require('sys').inspect(device,true,3));
}
else
{
for(var n=0,l=device.group.length;n