Skip to content

Commit

Permalink
fix exports for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliorivas committed Jul 3, 2024
1 parent 8279495 commit c8c2caf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/types/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function generateRandomColor() {
return "#" + ((0xffffff * Math.random()) << 0).toString(16).padStart(6, "0");
}

class Link {
export class Link {
// we may create a specific class for each type if needed
constructor(from, to) {
this.from = from;
Expand Down
2 changes: 1 addition & 1 deletion js/types/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class EDMObject {
}
}

class MCParticle extends EDMObject {
export class MCParticle extends EDMObject {
constructor() {
super();

Expand Down

0 comments on commit c8c2caf

Please sign in to comment.