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

fabric.Sprite undefined #176

Open
wobula opened this issue Sep 19, 2017 · 1 comment
Open

fabric.Sprite undefined #176

wobula opened this issue Sep 19, 2017 · 1 comment

Comments

@wobula
Copy link

wobula commented Sep 19, 2017

Hey guys,

I saw on your fabric.js demo page that there is a fabric.Sprite class. However, when I try to access this class using the latest 2.0 version of fabric, my console.log reports 'undefined.' Upon further inspection, there doesn't seem to be any file named fabric.Sprite located in any of the source code directories.

I'm currently working on a project that already has a significant amount of work completed with fabric -- could you please help explain how to get fabric.Sprite working?

Everything else with Fabric is working fantastic and has made my coding life much easier! Thanks a bunch guys.

@YaakovHatam
Copy link

Include the sprite Class after Fabric:
http://fabricjs.com/js/sprite.class.js

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