mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 00:28:25 -05:00
25
README.md
25
README.md
@@ -670,7 +670,7 @@ Other Style Guides
|
||||
- [7.3](#functions--in-blocks) Never declare a function in a non-function block (`if`, `while`, etc). Assign the function to a variable instead. Browsers will allow you to do it, but they all interpret it differently, which is bad news bears. eslint: [`no-loop-func`](http://eslint.org/docs/rules/no-loop-func.html)
|
||||
|
||||
<a name="functions--note-on-blocks"></a><a name="7.4"></a>
|
||||
- [7.4](#functions--note-on-blocks) **Note:** ECMA-262 defines a `block` as a list of statements. A function declaration is not a statement. [Read ECMA-262’s note on this issue](http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf#page=97).
|
||||
- [7.4](#functions--note-on-blocks) **Note:** ECMA-262 defines a `block` as a list of statements. A function declaration is not a statement.
|
||||
|
||||
```javascript
|
||||
// bad
|
||||
@@ -3358,9 +3358,9 @@ Other Style Guides
|
||||
|
||||
## Resources
|
||||
|
||||
**Learning ES6**
|
||||
**Learning ES6+**
|
||||
|
||||
- [Draft ECMA 2015 (ES6) Spec](https://people.mozilla.org/~jorendorff/es6-draft.html)
|
||||
- [Latest ECMA spec](https://tc39.github.io/ecma262/)
|
||||
- [ExploringJS](http://exploringjs.com/)
|
||||
- [ES6 Compatibility Table](https://kangax.github.io/compat-table/es6/)
|
||||
- [Comprehensive Overview of ES6 Features](http://es6-features.org/)
|
||||
@@ -3427,7 +3427,6 @@ Other Style Guides
|
||||
- [Perfection Kills](http://perfectionkills.com/)
|
||||
- [Ben Alman](http://benalman.com/)
|
||||
- [Dmitry Baranovskiy](http://dmitry.baranovskiy.com/)
|
||||
- [Dustin Diaz](http://dustindiaz.com/)
|
||||
- [nettuts](http://code.tutsplus.com/?s=javascript)
|
||||
|
||||
**Podcasts**
|
||||
@@ -3442,7 +3441,7 @@ Other Style Guides
|
||||
This is a list of organizations that are using this style guide. Send us a pull request and we'll add you to the list.
|
||||
|
||||
- **123erfasst**: [123erfasst/javascript](https://github.com/123erfasst/javascript)
|
||||
- **3blades**: [3Blades/javascript](https://github.com/3blades/javascript)
|
||||
- **3blades**: [3Blades](https://github.com/3blades)
|
||||
- **4Catalyzer**: [4Catalyzer/javascript](https://github.com/4Catalyzer/javascript)
|
||||
- **Aan Zee**: [AanZee/javascript](https://github.com/AanZee/javascript)
|
||||
- **Adult Swim**: [adult-swim/javascript](https://github.com/adult-swim/javascript)
|
||||
@@ -3455,7 +3454,7 @@ Other Style Guides
|
||||
- **Axept**: [axept/javascript](https://github.com/axept/javascript)
|
||||
- **BashPros**: [BashPros/javascript](https://github.com/BashPros/javascript)
|
||||
- **Billabong**: [billabong/javascript](https://github.com/billabong/javascript)
|
||||
- **Bisk**: [bisk/javascript](https://github.com/Bisk/javascript/)
|
||||
- **Bisk**: [bisk](https://github.com/Bisk/)
|
||||
- **Bonhomme**: [bonhommeparis/javascript](https://github.com/bonhommeparis/javascript)
|
||||
- **Brainshark**: [brainshark/javascript](https://github.com/brainshark/javascript)
|
||||
- **CaseNine**: [CaseNine/javascript](https://github.com/CaseNine/javascript)
|
||||
@@ -3472,7 +3471,7 @@ Other Style Guides
|
||||
- **ExactTarget**: [ExactTarget/javascript](https://github.com/ExactTarget/javascript)
|
||||
- **Expensify** [Expensify/Style-Guide](https://github.com/Expensify/Style-Guide/blob/master/javascript.md)
|
||||
- **Flexberry**: [Flexberry/javascript-style-guide](https://github.com/Flexberry/javascript-style-guide)
|
||||
- **Gawker Media**: [gawkermedia/javascript](https://github.com/gawkermedia/javascript)
|
||||
- **Gawker Media**: [gawkermedia](https://github.com/gawkermedia/)
|
||||
- **General Electric**: [GeneralElectric/javascript](https://github.com/GeneralElectric/javascript)
|
||||
- **Generation Tux**: [GenerationTux/javascript](https://github.com/generationtux/styleguide)
|
||||
- **GoodData**: [gooddata/gdc-js-style](https://github.com/gooddata/gdc-js-style)
|
||||
@@ -3480,7 +3479,7 @@ Other Style Guides
|
||||
- **Grupo-Abraxas**: [Grupo-Abraxas/javascript](https://github.com/Grupo-Abraxas/javascript)
|
||||
- **Honey**: [honeyscience/javascript](https://github.com/honeyscience/javascript)
|
||||
- **How About We**: [howaboutwe/javascript](https://github.com/howaboutwe/javascript-style-guide)
|
||||
- **Huballin**: [huballin/javascript](https://github.com/huballin/javascript)
|
||||
- **Huballin**: [huballin](https://github.com/huballin/)
|
||||
- **HubSpot**: [HubSpot/javascript](https://github.com/HubSpot/javascript)
|
||||
- **Hyper**: [hyperoslo/javascript-playbook](https://github.com/hyperoslo/javascript-playbook/blob/master/style.md)
|
||||
- **InterCity Group**: [intercitygroup/javascript-style-guide](https://github.com/intercitygroup/javascript-style-guide)
|
||||
@@ -3488,7 +3487,7 @@ Other Style Guides
|
||||
- **JeopardyBot**: [kesne/jeopardy-bot](https://github.com/kesne/jeopardy-bot/blob/master/STYLEGUIDE.md)
|
||||
- **JSSolutions**: [JSSolutions/javascript](https://github.com/JSSolutions/javascript)
|
||||
- **Kaplan Komputing**: [kaplankomputing/javascript](https://github.com/kaplankomputing/javascript)
|
||||
- **KickorStick**: [kickorstick/javascript](https://github.com/kickorstick/javascript)
|
||||
- **KickorStick**: [kickorstick](https://github.com/kickorstick/)
|
||||
- **Kinetica Solutions**: [kinetica/javascript](https://github.com/kinetica/Javascript-style-guide)
|
||||
- **LEINWAND**: [LEINWAND/javascript](https://github.com/LEINWAND/javascript)
|
||||
- **Lonely Planet**: [lonelyplanet/javascript](https://github.com/lonelyplanet/javascript)
|
||||
@@ -3498,8 +3497,8 @@ Other Style Guides
|
||||
- **MitocGroup**: [MitocGroup/javascript](https://github.com/MitocGroup/javascript)
|
||||
- **ModCloth**: [modcloth/javascript](https://github.com/modcloth/javascript)
|
||||
- **Money Advice Service**: [moneyadviceservice/javascript](https://github.com/moneyadviceservice/javascript)
|
||||
- **Muber**: [muber/javascript](https://github.com/muber/javascript)
|
||||
- **National Geographic**: [natgeo/javascript](https://github.com/natgeo/javascript)
|
||||
- **Muber**: [muber](https://github.com/muber/)
|
||||
- **National Geographic**: [natgeo](https://github.com/natgeo/)
|
||||
- **Nimbl3**: [nimbl3/javascript](https://github.com/nimbl3/javascript)
|
||||
- **Nulogy**: [nulogy/javascript](https://github.com/nulogy/javascript)
|
||||
- **Orange Hill Development**: [orangehill/javascript](https://github.com/orangehill/javascript)
|
||||
@@ -3509,13 +3508,13 @@ Other Style Guides
|
||||
- **Razorfish**: [razorfish/javascript-style-guide](https://github.com/razorfish/javascript-style-guide)
|
||||
- **reddit**: [reddit/styleguide/javascript](https://github.com/reddit/styleguide/tree/master/javascript)
|
||||
- **React**: [facebook.github.io/react/contributing/how-to-contribute.html#style-guide](https://facebook.github.io/react/contributing/how-to-contribute.html#style-guide)
|
||||
- **REI**: [reidev/js-style-guide](https://github.com/rei/code-style-guides/blob/master/docs/javascript.md)
|
||||
- **REI**: [reidev/js-style-guide](https://github.com/rei/code-style-guides/)
|
||||
- **Ripple**: [ripple/javascript-style-guide](https://github.com/ripple/javascript-style-guide)
|
||||
- **Sainsbury's Supermarkets**: [jsainsburyplc](https://github.com/jsainsburyplc)
|
||||
- **SeekingAlpha**: [seekingalpha/javascript-style-guide](https://github.com/seekingalpha/javascript-style-guide)
|
||||
- **Shutterfly**: [shutterfly/javascript](https://github.com/shutterfly/javascript)
|
||||
- **Sourcetoad**: [sourcetoad/javascript](https://github.com/sourcetoad/javascript)
|
||||
- **Springload**: [springload/javascript](https://github.com/springload/javascript)
|
||||
- **Springload**: [springload](https://github.com/springload/)
|
||||
- **StratoDem Analytics**: [stratodem/javascript](https://github.com/stratodem/javascript)
|
||||
- **SteelKiwi Development**: [steelkiwi/javascript](https://github.com/steelkiwi/javascript)
|
||||
- **StudentSphere**: [studentsphere/javascript](https://github.com/studentsphere/guide-javascript)
|
||||
|
||||
Reference in New Issue
Block a user