Skip to content

Commit

Permalink
Merge pull request #1027 from divadnagrom/main
Browse files Browse the repository at this point in the history
Add ' to create valid JS on selectors
  • Loading branch information
andrewnicols committed May 24, 2024
2 parents 1019352 + bad54e2 commit 06afb7d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/guides/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ For example:
```js title="mod/example/lib/amd/src/local/helloworld/selectors.js"
export default {
actions: {
showAlertButton: '[data-action="mod_example/helloworld-update_button"],
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"],
showAlertButton: '[data-action="mod_example/helloworld-update_button"]',
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"]',
},
};
```
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-4.1/guides/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ For example:
```js title="mod/example/lib/amd/src/local/helloworld/selectors.js"
export default {
actions: {
showAlertButton: '[data-action="mod_example/helloworld-update_button"],
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"],
showAlertButton: '[data-action="mod_example/helloworld-update_button"]',
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"]',
},
};
```
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-4.2/guides/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ For example:
```js title="mod/example/lib/amd/src/local/helloworld/selectors.js"
export default {
actions: {
showAlertButton: '[data-action="mod_example/helloworld-update_button"],
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"],
showAlertButton: '[data-action="mod_example/helloworld-update_button"]',
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"]',
},
};
```
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-4.3/guides/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ For example:
```js title="mod/example/lib/amd/src/local/helloworld/selectors.js"
export default {
actions: {
showAlertButton: '[data-action="mod_example/helloworld-update_button"],
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"],
showAlertButton: '[data-action="mod_example/helloworld-update_button"]',
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"]',
},
};
```
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-4.4/guides/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ For example:
```js title="mod/example/lib/amd/src/local/helloworld/selectors.js"
export default {
actions: {
showAlertButton: '[data-action="mod_example/helloworld-update_button"],
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"],
showAlertButton: '[data-action="mod_example/helloworld-update_button"]',
bigRedButton: '[data-action="mod_example/helloworld-big_red_button"]',
},
};
```
Expand Down

0 comments on commit 06afb7d

Please sign in to comment.