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

Please review: [Add batch function] #2

Merged
merged 4 commits into from Oct 1, 2012
Merged

Please review: [Add batch function] #2

merged 4 commits into from Oct 1, 2012

Conversation

n1t0
Copy link
Member

@n1t0 n1t0 commented Oct 1, 2012

No description provided.


for(var c in my.children) {
if(my.children.hasOwnProperty(c)) {
if(typeof fn === 'string' && typeof my.children[c][fn] === 'function')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please try to use { } especially when the body is not trivial and there's an else (Crockford)

@n1t0
Copy link
Member Author

n1t0 commented Oct 1, 2012

Updated.

@spolu
Copy link

spolu commented Oct 1, 2012

otherwise OK!

n1t0 pushed a commit that referenced this pull request Oct 1, 2012
Please review: [Add batch function]
@n1t0 n1t0 merged commit 72e9b89 into master Oct 1, 2012
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.

None yet

2 participants