mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Docs: Use https for hyperlinks in README
Closes gh-4673
(cherry picked from commit 73415da25d
)
This commit is contained in:
parent
898784ab84
commit
763dd3fefa
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
> jQuery is a fast, small, and feature-rich JavaScript library.
|
> jQuery is a fast, small, and feature-rich JavaScript library.
|
||||||
|
|
||||||
For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
|
For information on how to get started and how to use jQuery, please see [jQuery's documentation](https://api.jquery.com/).
|
||||||
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
|
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
|
||||||
|
|
||||||
If upgrading, please see the [blog post for @VERSION](@BLOG_POST_LINK). This includes notable differences from the previous version and a more readable changelog.
|
If upgrading, please see the [blog post for @VERSION](@BLOG_POST_LINK). This includes notable differences from the previous version and a more readable changelog.
|
||||||
@ -21,7 +21,7 @@ Below are some of the most common ways to include jQuery.
|
|||||||
|
|
||||||
#### Babel
|
#### Babel
|
||||||
|
|
||||||
[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
|
[Babel](https://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import $ from "jquery";
|
import $ from "jquery";
|
||||||
@ -37,7 +37,7 @@ var $ = require( "jquery" );
|
|||||||
|
|
||||||
#### AMD (Asynchronous Module Definition)
|
#### AMD (Asynchronous Module Definition)
|
||||||
|
|
||||||
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).
|
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](https://requirejs.org/docs/whyamd.html).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
define( [ "jquery" ], function( $ ) {
|
define( [ "jquery" ], function( $ ) {
|
||||||
@ -47,7 +47,7 @@ define( [ "jquery" ], function( $ ) {
|
|||||||
|
|
||||||
### Node
|
### Node
|
||||||
|
|
||||||
To include jQuery in [Node](nodejs.org), first install with npm.
|
To include jQuery in [Node](https://nodejs.org/), first install with npm.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install jquery
|
npm install jquery
|
||||||
|
Loading…
Reference in New Issue
Block a user