Skip to content

Small error in jquery plugin creation page #509

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
teo1978 opened this issue Jun 19, 2014 · 2 comments
Closed

Small error in jquery plugin creation page #509

teo1978 opened this issue Jun 19, 2014 · 2 comments

Comments

@teo1978
Copy link
Contributor

teo1978 commented Jun 19, 2014

http://learn.jquery.com/plugins/basic-plugin-creation/#how-jquery-works-101-jquery-object-methods-and-utility-methods

The second paragraph of this section starts with "Additionally the jQuery utility method $.trim() is USED ABOVE to remove any leading or trailing empty space characters FROM THE USER INPUT"

There is only one example line of code above of that and it doesn't use $.trim() nor does it manipulate any user input. This sentence probably used to reference some example code that has later been removed.

While the important concepts being conveyed are clear enough, this may be confusing to some readers.

AurelioDeRosa added a commit to AurelioDeRosa/learn.jquery.com that referenced this issue Jul 7, 2014
@arthurvr
Copy link
Member

Fixed in c381a51

@agcolom
Copy link
Member

agcolom commented Dec 18, 2014

thanks @arthurvr for pointing this out. Closing this issue.

@agcolom agcolom closed this as completed Dec 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants