Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanilla/Dist completely broken? #36

Open
ForbiddenEra opened this issue Mar 20, 2024 · 1 comment
Open

Vanilla/Dist completely broken? #36

ForbiddenEra opened this issue Mar 20, 2024 · 1 comment

Comments

@ForbiddenEra
Copy link

Using tree.js and tree.min.js from the dist/ in this repo results in:

Uncaught SyntaxError: unexpected token: ':'[tree.js:1:11](https://<redacted>/js/tree.js)

Using standard script tag as documented for vanilla usage.

Looking at the object itself, doesn't look right either aside from the apparent syntax error.

@ForbiddenEra
Copy link
Author

Note that the version from the example (at https://daweilv.github.io/treejs/dist/tree.min.js) does work and looks as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant