Skip to content

cleanup examples #458

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

Closed
wants to merge 2 commits into from
Closed

cleanup examples #458

wants to merge 2 commits into from

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Mar 11, 2014

use the shorter/prefered $.Deferred(function) notation in examples.

staabm added 2 commits March 11, 2014 11:34
use the shorter/prefered `$.Deferred(function)` notation in examples.
fixed `filtered` to no longer leak into global namespace.
@kswedberg
Copy link
Member

@staabm I wasn't aware that the $.Deferred(function) notation is "preferred." Is this preference documented somewhere?

@gnarf
Copy link
Member

gnarf commented Dec 22, 2014

I don't think this is "preferred" but it is an alternate syntax you can use. I think the examples written as is are easier to read and understand for someone new to the concept of deferred.

@gnarf gnarf closed this Dec 22, 2014
@staabm staabm deleted the patch-2 branch December 22, 2014 17:22
@kswedberg
Copy link
Member

thanks, @gnarf !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants