Skip to content

TypeError: window.FamilyTree2 is not a constructor #174

Description

@frankbracq

Hello,

I downloaded FamilyTree2 Professional (v2.00.172-min) from my account, but
the familytree2.js file contains the FlowChart library instead of
FamilyTree2.

The file starts with:
/* eslint-disable */ var FlowChart=class{...

However, according to the documentation, it should contain the FamilyTree2
class to be able to do:
let familyTree = new FamilyTree2(document.getElementById('tree'));

When I try to instantiate it, I get:
TypeError: window.FamilyTree2 is not a constructor

Could you please check if there was an error in the download or if the
wrong file was made available in my account?

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions