Skip to content

refactor: use constants.NS_SVG instead of hard coded values#578

Merged
tbouffard merged 1 commit intomainfrom
refactor/more_usage_of_constants.NS_SVG
Nov 20, 2024
Merged

refactor: use constants.NS_SVG instead of hard coded values#578
tbouffard merged 1 commit intomainfrom
refactor/more_usage_of_constants.NS_SVG

Conversation

@tbouffard
Copy link
Member

This reduces duplication and helps reduce the size of maxGraph.
For example, the size of the maxGraph chunk in ts-example decreases from 444.79 kB to 444.59 kB.

This reduces duplication and helps reduce the size of maxGraph.
For example, the size of the maxGraph chunk in `ts-example` decreases from 444.79 kB to 444.59 kB.
@tbouffard tbouffard added the refactor Code refactoring label Nov 20, 2024
@tbouffard tbouffard marked this pull request as ready for review November 20, 2024 07:41
@tbouffard tbouffard merged commit 002f573 into main Nov 20, 2024
@tbouffard tbouffard deleted the refactor/more_usage_of_constants.NS_SVG branch November 20, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant