Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 1a018b6

Browse files
authored
Linting fixes
1 parent b1be7fa commit 1a018b6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

guides/v2.2/javascript-dev-guide/javascript/custom_js.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ define([
120120

121121
Where 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

126126
For 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

147147
1. 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

153153
2. 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

0 commit comments

Comments
 (0)