Commit 0cdc840b authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix_js_style_guide_markup' into 'master'

fixes some markup issues in the js style guide docs

See merge request gitlab-org/gitlab-ce!15828
parents 4ccbd556 39e2ace4
...@@ -414,7 +414,6 @@ A forEach will cause side effects, it will be mutating the array being iterated. ...@@ -414,7 +414,6 @@ A forEach will cause side effects, it will be mutating the array being iterated.
1. Default key should be provided if the prop is not required. 1. Default key should be provided if the prop is not required.
_Note:_ There are some scenarios where we need to check for the existence of the property. _Note:_ There are some scenarios where we need to check for the existence of the property.
On those a default key should not be provided. On those a default key should not be provided.
```javascript ```javascript
// good // good
props: { props: {
...@@ -494,7 +493,6 @@ On those a default key should not be provided. ...@@ -494,7 +493,6 @@ On those a default key should not be provided.
#### Ordering #### Ordering
1. Tag order in `.vue` file 1. Tag order in `.vue` file
``` ```
<script> <script>
// ... // ...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment