Skip to content

Wrap the created localCanvas element with the cc.$ class #3479

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

Merged
merged 1 commit into from
Apr 21, 2017

Conversation

jordanth
Copy link
Contributor

.addClass(...) is called on it a few lines later, which throws an error if localCanvas is a regular HTML element.

.addClass(...) is called on it a few lines later, which throws an error if localCanvas is a regular HTML element.
@pandamicro
Copy link
Contributor

Thanks for the fix

@pandamicro pandamicro merged commit 93e7c2f into cocos2d:develop Apr 21, 2017
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.

2 participants