Skip to content

Commit be806f4

Browse files
ericcarrawayagcolom
authored andcommitted
Pages: Fix typos
Closes jquerygh-687 behaviour => behavior inadvert => inadvertent namepaces => namespaces seperate => separate
1 parent 69c1436 commit be806f4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

page/code-organization/deferreds/examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Further Deferreds examples
1313

14-
Deferreds are used behind the hood in Ajax but it doesn't mean they can't also be used elsewhere. This section describes situations where deferreds will help abstract away asynchronous behaviour and decouple our code.
14+
Deferreds are used behind the hood in Ajax but it doesn't mean they can't also be used elsewhere. This section describes situations where deferreds will help abstract away asynchronous behavior and decouple our code.
1515

1616
### Caching
1717

page/jquery-ui/widget-factory/extending-widgets.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Like the previous example, the following also creates a "superDialog" widget in
2323
$.widget( "custom.superDialog", $.ui.dialog, {} );
2424
```
2525

26-
Here superDialog and dialog are essentially equivalent widgets with different names and namepaces. To make our new widget more interesting we can add methods to its prototype object.
26+
Here superDialog and dialog are essentially equivalent widgets with different names and namespaces. To make our new widget more interesting we can add methods to its prototype object.
2727

2828
A widget's prototype object is the final argument passed to `$.widget()`. So far, our examples have been using an empty object. Let's add a method to this object:
2929

page/style-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Content should be educational and accessible to a broad audience of developers.
6060
#### Article & Sentence Structure
6161

6262
- Use headings to break up content into easier-to-read sections. Begin headings within an article with `<h2>`.
63-
- Keep sentences short and to the point. A good rule-of-thumb is to break up any sentence longer than 21 words into two or more seperate thoughts.
63+
- Keep sentences short and to the point. A good rule-of-thumb is to break up any sentence longer than 21 words into two or more separate thoughts.
6464
- Lists:
6565
- Use bulleted lists when necessary to share a series of five or more points.
6666
- Use numbered lists only when providing step-by-step instruction – note that this should be avoided.

page/using-jquery-core/iterating.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ $( "li" ).each( function( index, element ){
115115

116116
The question is often raised, "If `this` is the element, why is there a second DOM element argument passed to the callback?"
117117

118-
Whether intentional or inadvert, the execution context may change. When consistently using the keyword `this`, it's easy to end up confusing ourselves or other developers reading the code. Even if the execution context remains the same, it may be more readable to use the second parameter as a named parameter. For example:
118+
Whether intentional or inadvertent, the execution context may change. When consistently using the keyword `this`, it's easy to end up confusing ourselves or other developers reading the code. Even if the execution context remains the same, it may be more readable to use the second parameter as a named parameter. For example:
119119

120120
```
121121
$( "li" ).each( function( index, listItem ) {

0 commit comments

Comments
 (0)