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

Refactor removeUselessStrokeAndFill #1549

Merged
merged 1 commit into from Sep 5, 2021

Conversation

TrySound
Copy link
Member

The logic is a little messy. Will be better when we drop node 12 support
and use optional chaining.

  • migrated to visitor plugin api
  • covered with types
  • get rid from patching params as plugin state
  • replaced many node.computedAttr() with style manager
  • enabled and fixed removeNone param test (was merged as muted back in 2017)
  • added ability to return null and not run visitor in plugins

The logic is a little messy. Will be better when we drop node 12 support
and use optional chaining.

- migrated to visitor plugin api
- covered with types
- get rid from patching params as plugin state
- replaced many node.computedAttr() with style manager
- enabled and fixed removeNone param test (was merged as muted back in 2017)
- added ability to return null and not run visitor in plugins
@TrySound TrySound merged commit 93143f3 into master Sep 5, 2021
@TrySound TrySound deleted the refactor-remove-useless-stroke-and-fill branch September 5, 2021 14:34
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.

None yet

2 participants