You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
For information on how to get started and how to use jQuery, please see [jQuery's documentation](https://api.jquery.com/).
6
6
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
7
7
8
-
If upgrading, please see the [blog post for 3.6.1](https://blog.jquery.com/2022/08/26/jquery-3-6-1-maintenance-release/). This includes notable differences from the previous version and a more readable changelog.
8
+
If upgrading, please see the [blog post for 3.6.2](https://blog.jquery.com/2022/12/13/jquery-3-6-2-released/). This includes notable differences from the previous version and a more readable changelog.
9
9
10
10
## Including jQuery
11
11
@@ -16,20 +16,18 @@ Below are some of the most common ways to include jQuery.
[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.
24
+
There are several ways to use [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Babel](https://babeljs.io/). For more information on using these tools, please refer to the corresponding project's documentation. In the script, including jQuery will usually look like this:
25
25
26
26
```js
27
27
import $ from"jquery";
28
28
```
29
29
30
-
#### Browserify/Webpack
31
-
32
-
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.js.org/). For more information on using these tools, please refer to the corresponding project's documentation. In the script, including jQuery will usually look like this...
30
+
If you need to use jQuery in a file that's not an ECMAScript module, you can use the CommonJS syntax:
0 commit comments