Skip to content

Commit 232567d

Browse files
committed
Remove JS101: replace links in other sections
1 parent ae92160 commit 232567d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

page/plugins/basic-plugin-creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $( "a" ).greenify().addClass( "greenified" );
4646

4747
## Protecting the $ Alias and Adding Scope
4848

49-
The `$` variable is very popular among JavaScript libraries, and if you're using another library with jQuery, you will have to make jQuery not use the `$` with `jQuery.noConflict()`. However, this will break our plugin since it is written with the assumption that `$` is an alias to the `jQuery` function. To work well with other plugins, _and_ still use the jQuery `$` alias, we need to put all of our code inside of an [Immediately Invoked Function Expression](http://stage.learn.jquery.com/javascript-101/functions/#immediately-invoked-function-expression-iife), and then pass the function `jQuery`, and name the parameter `$`:
49+
The `$` variable is very popular among JavaScript libraries, and if you're using another library with jQuery, you will have to make jQuery not use the `$` with `jQuery.noConflict()`. However, this will break our plugin since it is written with the assumption that `$` is an alias to the `jQuery` function. To work well with other plugins, _and_ still use the jQuery `$` alias, we need to put all of our code inside of an [Immediately Invoked Function Expression](http://benalman.com/news/2010/11/immediately-invoked-function-expression/), and then pass the function `jQuery`, and name the parameter `$`:
5050

5151
```
5252
(function ( $ ) {

page/using-jquery-core/manipulating-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ $( "<a/>", {
9292
});
9393
```
9494

95-
Note that the attributes object in the second argument above, the property name class is quoted, although the property names `html` and `href` are not. Property names generally do not need to be quoted unless they are [reserved words](/javascript-101/reserved-words/) (as `class` is in this case).
95+
Note that the attributes object in the second argument above, the property name class is quoted, although the property names `html` and `href` are not. Property names generally do not need to be quoted unless they are [reserved words](https://mathiasbynens.be/notes/reserved-keywords) (as `class` is in this case).
9696

9797
When you create a new element, it is not immediately added to the page. There are several ways to add an element to the page once it's been created.
9898

page/using-jquery-core/utility-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ $( "#foo" ).click( $.proxy( myObject, "myFn" ) ); // myObject
106106

107107
## Testing Type
108108

109-
As seen in [the JavaScript 101 section](http://learn.jquery.com/javascript-101/testing-type/) the `typeof` operator can be inconsistent or confusing. So instead of using `typeof`, jQuery offers utility methods to help determine the type of a value.
109+
Sometimes the `typeof` operator [can be confusing or incosistent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof). So instead of using `typeof`, jQuery offers utility methods to help determine the type of a value.
110110

111111
First of all, you have methods to test if a specific value is of a specific type.
112112

0 commit comments

Comments
 (0)