Skip to content

cc.EditBoxDelegate fix#4

Open
Ruluk wants to merge 1 commit into
cocos2d:masterfrom
Ruluk:patch-1
Open

cc.EditBoxDelegate fix#4
Ruluk wants to merge 1 commit into
cocos2d:masterfrom
Ruluk:patch-1

Conversation

@Ruluk
Copy link
Copy Markdown

@Ruluk Ruluk commented Feb 10, 2016

JSB_EditBoxDelegate and cc.EditBox.setDelegate were implemented in C++. Right now, setDelegate can receive a simple plain object and it works perfectly, but the cc.EditBoxDelegate object that exists in HTML5 doesn't exist in JSB. I'm simply creating it the way it is created in HTML5.

`JSB_EditBoxDelegate` and `cc.EditBox.setDelegate` were implemented in C++. Right now, `setDelegate` can receive a simple plain object and it works perfectly, but the `cc.EditBoxDelegate` object that exists in HTML5 doesn't exist in JSB. I'm simply creating it the way it is created in HTML5.
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.

1 participant