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

[Feature]: use of 'fabric.util.createClass' in v6? #8689

Closed
4 tasks done
shubaoliu opened this issue Feb 11, 2023 · 2 comments
Closed
4 tasks done

[Feature]: use of 'fabric.util.createClass' in v6? #8689

shubaoliu opened this issue Feb 11, 2023 · 2 comments

Comments

@shubaoliu
Copy link

CheckList

  • I agree to follow this project's Code of Conduct
  • I have read and followed the Contributing Guide
  • I have searched and referenced existing issues, feature requests and discussions
  • I am filing a FEATURE request.

Description

Hi, I have been using 'fabric.util.createClass' function in my web app with v5.3.1. However, when testing it with v6.0-beta, I get this error 'Uncaught TypeError: createClass is not a function'.

Current State

I tried to modify 'fabric.ts' to add 'createClass' in util variable, but it didn't work. I'm not familiar with the new design of v6.0, could someone help me on this? Thanks!

Additional Context

No response

@ShaMan123
Copy link
Contributor

ShaMan123 commented Feb 12, 2023

It has been removed
v6 uses native classes

@ShaMan123
Copy link
Contributor

#8299

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

2 participants