Skip to content

TypeError: window.FamilyTree2 is not a constructor #174

@frankbracq

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!

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