Skip to content

Conversation

@andreibancioiu
Copy link
Contributor

@andreibancioiu andreibancioiu commented Mar 25, 2022

Code minification broke type comparisons based on constructor.name. Here, the fix is to hardcode class names for classes within erdjs' typesystem.

Tested with minified JS, as well (browserify's tinyify).

Should fix #161 and #150.

Also, related to #145.

@andreibancioiu andreibancioiu self-assigned this Mar 25, 2022
@andreibancioiu andreibancioiu changed the title Hardcode class names for classes within erdjs' typesystem. 9x: Hardcode class names for classes within erdjs' typesystem. Mar 25, 2022
@andreibancioiu andreibancioiu changed the title 9x: Hardcode class names for classes within erdjs' typesystem. erdjs v9.x: Hardcode class names for classes within erdjs' typesystem. Mar 25, 2022
@andreibancioiu andreibancioiu merged commit 9fc09c6 into release/v9 Mar 25, 2022
@andreibancioiu andreibancioiu deleted the classnames branch March 25, 2022 12:58
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

Successfully merging this pull request may close these issues.

4 participants