Skip to content

Confusing content on the Basic Plugin Creator page #396

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
james-deee opened this issue Jul 15, 2013 · 1 comment
Closed

Confusing content on the Basic Plugin Creator page #396

james-deee opened this issue Jul 15, 2013 · 1 comment

Comments

@james-deee
Copy link

In the beta version found here:

https://github.com/jquery/learn.jquery.com/blob/master/page/plugins/basic-plugin-creation.md

The very first part has some confusing content about the use of "trim". Unfortunately, the example given and the conversation about trim don't match up.

Here's the example used:
$( "a" ).css( "color", "red" );

But then the paragraph below it says:
"Additionally the jQuery utility method $.trim() is used above to rem....."

I think you might have meant to have a different example case where you were using trim?

Thanks! PS. I LOVE the new content about plugin authoring.

@arthurvr
Copy link
Member

PR: #577

arthurvr added a commit to arthurvr/learn.jquery.com that referenced this issue Jan 4, 2015
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

2 participants