Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- _下划线问题 #36

Closed
ymdshxjj opened this issue Jul 8, 2016 · 3 comments
Closed

- _下划线问题 #36

ymdshxjj opened this issue Jul 8, 2016 · 3 comments

Comments

@ymdshxjj
Copy link

ymdshxjj commented Jul 8, 2016

<ul id="world-list">
</ul>

建议把world-list 改成world_list,代码手抄下来,这个东西坑了好久。

@the5fire
Copy link
Owner

the5fire commented Jul 8, 2016

怎么个坑法?

@mhxy13867806343
Copy link

world-list world_list World_List之类的我都用

@the5fire
Copy link
Owner

the5fire commented Aug 9, 2016

命名之类的就看要遵循什么规范了。中横线,驼峰,下划线都可以,不过还是建议参考前端编码规范。

@the5fire the5fire closed this as completed Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants