Skip to content

Confusing content on the Basic Plugin Creator page #396

Closed
@james-deee

Description

@james-deee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions