Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Feb 21, 2017
1 parent f8b4c59 commit e9af242
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions elements/noflo-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,12 @@
}
if (list[i].id === entity.id) {
// id match, replace
Object.keys(entity).forEach(function (key) {
for (var key in entity) {
if (!entity.hasOwnProperty(key)) {
continue;
}
list[i][key] = entity[key];
});
}
found = true;
break;
}
Expand Down

0 comments on commit e9af242

Please sign in to comment.