Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
39e2ace4
Commit
39e2ace4
authored
Dec 11, 2017
by
Christiaan Van den Poel
Committed by
Rémy Coutable
Dec 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes some markup issues in the js style guide docs
parent
4ccbd556
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
62 deletions
+60
-62
doc/development/fe_guide/style_guide_js.md
doc/development/fe_guide/style_guide_js.md
+60
-62
No files found.
doc/development/fe_guide/style_guide_js.md
View file @
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>
// ...
// ...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment