Skip to content

Commit ea4b23b

Browse files
committed
First version
1 parent 11fe5c6 commit ea4b23b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Javascript
22

3-
[Airbnb JavaScript Style Guide 中文版](es5/README.md)
3+
[Airbnb JavaScript Style Guide 中文版](es5/README.md)
44
\* 翻译的是最常用的 ES5 版。

es5/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
var fullName = 'Bob ' + this.lastName;
192192
```
193193

194-
- 超过 80 个字符的字符串应该使用连接符写成多行。-
194+
- 超过 80 个字符的字符串应该使用连接符写成多行。
195195
- 注:若过渡使用,通过连接符连接的长字符串可能会影响性能。[jsPerf](http://jsperf.com/ya-string-concat) & [讨论](https://github.com/airbnb/javascript/issues/40).
196196

197197
```javascript
@@ -1542,39 +1542,39 @@
15421542
## <a name="resources">资源</a>
15431543

15441544

1545-
**Read This**
1545+
**推荐阅读**
15461546

15471547
- [Annotated ECMAScript 5.1](http://es5.github.com/)
15481548

1549-
**Tools**
1549+
**工具**
15501550

15511551
- Code Style Linters
15521552
+ [JSHint](http://www.jshint.com/) - [Airbnb Style .jshintrc](https://github.com/airbnb/javascript/blob/master/linters/jshintrc)
15531553
+ [JSCS](https://github.com/jscs-dev/node-jscs) - [Airbnb Style Preset](https://github.com/jscs-dev/node-jscs/blob/master/presets/airbnb.json)
15541554

1555-
**Other Styleguides**
1555+
**其它风格指南**
15561556

15571557
- [Google JavaScript Style Guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml)
15581558
- [jQuery Core Style Guidelines](http://docs.jquery.com/JQuery_Core_Style_Guidelines)
15591559
- [Principles of Writing Consistent, Idiomatic JavaScript](https://github.com/rwldrn/idiomatic.js/)
15601560
- [JavaScript Standard Style](https://github.com/feross/standard)
15611561

1562-
**Other Styles**
1562+
**其它风格**
15631563

15641564
- [Naming this in nested functions](https://gist.github.com/4135065) - Christian Johansen
15651565
- [Conditional Callbacks](https://github.com/airbnb/javascript/issues/52) - Ross Allen
15661566
- [Popular JavaScript Coding Conventions on Github](http://sideeffect.kr/popularconvention/#javascript) - JeongHoon Byun
15671567
- [Multiple var statements in JavaScript, not superfluous](http://benalman.com/news/2012/05/multiple-var-statements-javascript/) - Ben Alman
15681568

1569-
**Further Reading**
1569+
**进一步阅读**
15701570

15711571
- [Understanding JavaScript Closures](http://javascriptweblog.wordpress.com/2010/10/25/understanding-javascript-closures/) - Angus Croll
15721572
- [Basic JavaScript for the impatient programmer](http://www.2ality.com/2013/06/basic-javascript.html) - Dr. Axel Rauschmayer
15731573
- [You Might Not Need jQuery](http://youmightnotneedjquery.com/) - Zack Bloom & Adam Schwartz
15741574
- [ES6 Features](https://github.com/lukehoban/es6features) - Luke Hoban
15751575
- [Frontend Guidelines](https://github.com/bendc/frontend-guidelines) - Benjamin De Cock
15761576

1577-
**Books**
1577+
**书籍**
15781578

15791579
- [JavaScript: The Good Parts](http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742) - Douglas Crockford
15801580
- [JavaScript Patterns](http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp/0596806752) - Stoyan Stefanov
@@ -1593,7 +1593,7 @@
15931593
- [Eloquent JavaScript](http://eloquentjavascript.net) - Marijn Haverbeke
15941594
- [You Don't Know JS](https://github.com/getify/You-Dont-Know-JS) - Kyle Simpson
15951595
1596-
**Blogs**
1596+
**博客**
15971597
15981598
- [DailyJS](http://dailyjs.com/)
15991599
- [JavaScript Weekly](http://javascriptweekly.com/)
@@ -1607,7 +1607,7 @@
16071607
- [Dustin Diaz](http://dustindiaz.com/)
16081608
- [nettuts](http://net.tutsplus.com/?s=javascript)
16091609
1610-
**Podcasts**
1610+
**播客**
16111611
16121612
- [JavaScript Jabber](http://devchat.tv/js-jabber/)
16131613

0 commit comments

Comments
 (0)