This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
guides/v2.2/javascript-dev-guide/javascript Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ define([
120120
121121Where the following notation is used:
122122
123- - ` <component_path> ` : path to the default component that you extend
124- - ` <component_alias> ` : variable containing the default component that you extend
123+ - ` <component_path> ` : path to the default component that you extend
124+ - ` <component_alias> ` : variable containing the default component that you extend
125125
126126For example, ` Filters.js ` script extends the default ` filters.js ` :
127127
@@ -146,12 +146,13 @@ To disable the auto-loading of default Magento JS components and widget initiali
146146
1471471 . Create a ` requirejs-config.js ` file with the following content:
148148
149- ``` javascript
150- var config = { deps: [ ] };
151- ```
149+ ``` javascript
150+ var config = { deps: [ ] };
151+ ```
152152
1531532. Put the ` requirejs-config.js` file in one of the following
154154 locations:
155+
155156 - Your custom theme files: ` <theme_dir>`
156157 - Your custom module files: ` <module_dir>/view/frontend`
157158
You can’t perform that action at this time.
0 commit comments