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 {
class Branch { class Branch {
constructor(data, parentBranch=null) { constructor(data) {
//this.parentBranch = parentBranch;
Object.assign(this, data); Object.assign(this, data);
if(typeof this.forks !== "undefined") { if(typeof this.forks !== "undefined") {
for (let fork of this.forks) { for (let fork of this.forks) {

Loading…
Cancel
Save