Skip to content

Conversation

@erykwalder
Copy link
Contributor

The current legacy support was throwing errors on some mobile devices (specifically an HTC Sense running Android 2.3.4).

The value of args should be determined by the arguments passed to bind, not to the bound function. Several places throughout the codebase bind is used in this manner, so the legacy function should support it.

The current legacy support was throwing errors on some mobile devices (specifically an HTC Sense running Android 2.3.4).

The value of args should be determined by the arguments passed to bind, not to the bound function. Several places throughout the codebase bind is used in this manner, so the legacy function should support it.
dingpinglv added a commit that referenced this pull request Mar 5, 2014
Fix legacy Function.prototype.bind support
@dingpinglv dingpinglv merged commit 98738e2 into cocos2d:develop Mar 5, 2014
@dingpinglv
Copy link
Contributor

Thank you, erykwalder.

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