Skip to content

Commit 3a3ce9f

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Import jquery as the $ variable.
2 parents 27813fb + efd5d99 commit 3a3ce9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/encore/simple-example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Great! Use ``import`` to import ``jquery`` and ``greet.js``:
182182
// ...
183183
184184
+ // loads the jquery package from node_modules
185-
+ import jquery from 'jquery';
185+
+ import $ from 'jquery';
186186
187187
+ // import the function from greet.js (the .js extension is optional)
188188
+ // ./ (or ../) means to look for a local file

0 commit comments

Comments
 (0)