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

t.initClip is not a function error in 3.7.0 #3035

Closed
stof opened this issue Jan 12, 2023 · 1 comment
Closed

t.initClip is not a function error in 3.7.0 #3035

stof opened this issue Jan 12, 2023 · 1 comment
Labels

Comments

@stof
Copy link
Contributor

stof commented Jan 12, 2023

Description

When rendering a chart using a tree-shaken build, we get a t.initClip is not a function error in t.initParams in the chart internals.

Steps to check or reproduce

Use the ESM tree-shaken build
Render a donut chart (or any other type of chart that does not have axis)

@stof stof changed the title t.initClip is not a function error t.initClip is not a function error in 3.7.0 Jan 12, 2023
@netil netil added the bug label Jan 13, 2023
@netil
Copy link
Member

netil commented Jan 13, 2023

Thanks for the report. Caused as a side-effect of the treemap type implementation.

netil pushed a commit to netil/billboard.js that referenced this issue Jan 13, 2023
- side-effect call from the treemap implementation naver#3012
- revert .initCall() call

Ref naver#3035
@netil netil closed this as completed in 162fbf7 Jan 13, 2023
github-actions bot pushed a commit that referenced this issue Jan 13, 2023
## [3.7.1](3.7.0...3.7.1) (2023-01-13)

### Bug Fixes

* **internals:** Fix unexpected initClip() call ([162fbf7](162fbf7)), closes [#3012](#3012) [#3035](#3035)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants