Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
8093f3b2a3bb990462da9d4f8c76c71a502ede24
1 parent
3b9a7d7f
doc improve
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
doc/code-norm/README.md
doc/code-norm/README.md
View file @
8093f3b
...
...
@@ -37,7 +37,7 @@
// Your comments for the code
```
*
减少不必要的注释
类似于:
进入循环,循环结束等垃圾话的注释请谨慎添加,大家都是程序员,都懂
的
类似于:
**进入循环**
、
**循环结束**
等垃圾话的注释请谨慎添加,大家都是程序员,不用你注释也能知道
的
## html
...
...
@@ -46,6 +46,8 @@
*
html中请不要出现不必要的嵌套以及不要将标签滥用,比如使用
`a`
标签作为不跳转的按钮的标签
*
属性按顺序出现:
`id -> class -> name -> data-* -> src,for,type,href -> title,alt -> aria-*,role`
## [js](doc/code-norm/js.md)
## js
[
Link
](
doc/code-norm/js.md
)
## [css](doc/code-norm/css.md)
\ No newline at end of file
## css
[
Link
](
doc/code-norm/css.md
)
\ No newline at end of file
...
...
Please
register
or
login
to post a comment