Browse Source

remove obsolete parameter

master
Fr3deric 6 years ago
parent
commit
a15d5dcc8a
  1. 3
      baumgen.js

3
baumgen.js

@ -182,8 +182,7 @@ class EllipseCrown extends Crown { @@ -182,8 +182,7 @@ class EllipseCrown extends Crown {
class Branch {
constructor(data, parentBranch=null) {
//this.parentBranch = parentBranch;
constructor(data) {
Object.assign(this, data);
if(typeof this.forks !== "undefined") {
for (let fork of this.forks) {

Loading…
Cancel
Save