Skip to content

Commit

Permalink
Update espresso.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Sep 15, 2024
1 parent 7b993c6 commit 8a9bafb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/espresso.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ espresso.Graph = class {
constructor(metadata, reader) {
this.name = '';
this.type = reader.type;
this.groups = reader.groups;
for (const value of reader.values.values()) {
const name = value.name;
const type = value.type;
Expand Down Expand Up @@ -152,9 +151,6 @@ espresso.Node = class {
if (!obj.type) {
throw new Error('Undefined node type.');
}
if (obj.group) {
this.group = obj.group || null;
}
const type = metadata.type(obj.type);
this.type = type ? { ...type } : { name: obj.type };
this.type.name = obj.type.split(':').pop();
Expand Down

0 comments on commit 8a9bafb

Please sign in to comment.