Skip to content

Fix: doEnumerateRecursive(node, name, callback) now returns the return value. #3384

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 3 commits into from
Dec 6, 2016

Conversation

ronyeh
Copy link
Contributor

@ronyeh ronyeh commented Oct 2, 2016

It seems like the return value "ret" was unused.

I added a line to return "ret" at the end of the function.

@ronyeh
Copy link
Contributor Author

ronyeh commented Oct 2, 2016

I also fixed a typo in the setBoundarySet function (it was missing the letter 'n').

… cc.Scheduler namespace for consistency with PRIORITY_SYSTEM.
@ronyeh
Copy link
Contributor Author

ronyeh commented Oct 6, 2016

I also fixed an apparent typo which caused the PRIORITY_NON_SYSTEM constant to be NaN. It is used nowhere else in the code base, so it seems like an easy fix.

@ronyeh ronyeh changed the title doEnumerateRecursive(node, name, callback) now returns the return value. Fix: doEnumerateRecursive(node, name, callback) now returns the return value. Oct 12, 2016
@pandamicro pandamicro merged commit a9dfb7c into cocos2d:develop Dec 6, 2016
@pandamicro
Copy link
Contributor

Thank you and sorry for the delay

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