Skip to content

Commit 6c37afc

Browse files
Markus Amalthea Magnusonajpiano
Markus Amalthea Magnuson
authored andcommitted
Style, typography fixes and code style adherence in the Performance section. Fixes jquery#336.
1 parent ad5a625 commit 6c37afc

5 files changed

+448
-622
lines changed

page/plugins.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,9 @@ customFields:
66
key: "icon"
77
value: "bolt"
88
---
9-
A jQuery plugin is simply a new method that we use to extend jQuery's prototype
10-
object. By extending the prototype object you enable all jQuery objects to
11-
inherit any methods that you add. As established, whenever you call `jQuery()`
12-
you're creating a new jQuery object, with all of jQuery's methods inherited.
139

14-
The idea of a plugin is to do something with a collection of elements. You
15-
could consider each method that comes with the jQuery core a plugin, like
16-
`fadeOut` or `addClass`.
10+
A jQuery plugin is simply a new method that we use to extend jQuery's prototype object. By extending the prototype object you enable all jQuery objects to inherit any methods that you add. As established, whenever you call `jQuery()` you're creating a new jQuery object, with all of jQuery's methods inherited.
1711

18-
You can make your own plugins and use them privately in your code or you can
19-
release them into the wild. There are thousands of jQuery plugins available
20-
online. The barrier to creating a plugin of your own is so low that you'll
21-
want to do it straight away!
12+
The idea of a plugin is to do something with a collection of elements. You could consider each method that comes with the jQuery core a plugin, like `.fadeOut()` or `.addClass()`.
13+
14+
You can make your own plugins and use them privately in your code or you can release them into the wild. There are thousands of jQuery plugins available online. The barrier to creating a plugin of your own is so low that you'll want to do it straight away!

0 commit comments

Comments
 (0)