Commit Graph

246 Commits

Author SHA1 Message Date
Harrison Shoff
7fe4883a75 [variables] fix variable hoisting example. fixes #265 2015-04-19 15:42:15 -07:00
robertmargelli
5fe373c646 Added italian translation 2015-04-17 15:13:59 -07:00
nagits
64013fb578 Add Flexberry to the organizations list 2015-04-17 18:28:05 +05:00
Varayut Lerdkanlayanawat
67dda213b8 Add Thai language version 2015-04-16 10:12:06 +07:00
Harrison Shoff
d5cddf836c Merge pull request #292 from sunshinewyin/master
Fix minor punctuation errors in README
2015-04-08 10:52:36 -07:00
Harrison Shoff
540365c4cc [whitespace] class => classed. fixes #294 2015-04-06 18:00:36 -07:00
Josh Perez
0501155c5e Merge pull request #283 from marcioos/master
Rephrasing Array#push style guide
2015-04-05 21:05:51 -07:00
Josh Perez
7ed9511a2f Merge pull request #288 from RKushnir/master
Fix a typo in selector
2015-04-05 21:05:41 -07:00
Jan Hořava
999a9f3dc5 Alphabetized Translation links 2015-04-05 14:51:18 -07:00
Sunshine Yin
6cda67e2f5 Fix minor punctuation errors
(1) BEFORE: Never name a parameter `arguments`, this will take precedence over the `arguments` object.
AFTER: Never name a parameter `arguments`. This will take precedence over the `arguments` object.

(2) BEFORE: Variable declarations get hoisted to the top of their scope, their assignment does not.
AFTER:
Variable declarations get hoisted to the top of their scope, but their assignment does not.

(3) BEFORE: for multiline comments
AFTER: for multi-line comments

(4)BEFORE: It’s okay to write a custom toString() method, just make sure
AFTER: It's okay to write a custom toString() method. Just make sure
2015-04-05 12:57:01 -07:00
Roman
ebe8cb253d Fix a typo in selector 2015-04-04 11:47:48 +03:00
Marcio Oliveira
4b012cddf3 Rephrasing Array#push style guide 2015-04-03 19:51:16 -03:00
Josh Perez
483bc27a7c Merge pull request #277 from adult-swim/airbnb
Added Adult Swim to In the Wild section
2015-04-02 12:46:31 -07:00
Justin Gardner
2bccaf6203 Added Adult Swim to In the Wild section 2015-04-02 20:40:40 +01:00
Harrison Shoff
615dc76f63 [whitespace] remove dots, they look bad 2015-04-02 09:13:38 -07:00
Harrison Shoff
369fdb8f56 [whitespace] add dots for whitespace examples 2015-04-02 09:12:33 -07:00
Tomek Wiszniewski
2e51880f10 Specify whitespace rules for parentheses
Based on existing examples and <http://sideeffect.kr/popularconvention/#javascript>.
2015-04-02 04:10:21 +02:00
Harrison Shoff
520b6d658f [resources] add link to standard style by @feross 2015-03-30 13:07:29 -07:00
Christoph Jasinski
b91deedf22 Add You Don't Know JS to books 2015-03-30 00:41:28 +02:00
marcel-me
716a9658af Add Eloquent JavaScript to books 2015-03-27 22:02:39 +01:00
Joe Frambach
3dc4b5edc8 String concat code blocks were not equivalent.
If the array is empty, the "bad" code will return `<ul></ul>` and the "good" code will return `<ul><li></li></ul>`.

Although I would prefer this over the for loop:

    function inbox(messages) {
      items = messages.map(function(message) {
        return '<li>' + message.message + '</li>';
      });

      return '<ul>' + items.join('') + '</ul>';
2015-03-27 10:40:15 -07:00
Veikko Karsikko
78309e7ddb Add Nordic Venture Family to organizations list 2015-03-26 10:22:35 +02:00
Harrison Shoff
18abccb651 Merge pull request #238 from jigsawye/patch-1
Update README.md
2015-03-21 11:22:05 -07:00
Harrison Shoff
114f03539b Merge pull request #250 from vprasanth/master
Added a book to book list and created Podcasts section
2015-03-21 11:19:39 -07:00
Bruno Ferreira
7c79b4e21c Added T4R Technology to organizations list 2015-03-20 08:33:35 -03:00
fvanderwielen
3eef511fd6 Fixes #251 - Rename Conditional Expressions
As per issue #251, renames section Conditional Expressions & Equality to Comparison Operators & Equality, as the section is not about the Elvis operator :)
2015-03-16 23:05:09 +01:00
Prasanth Vaaheeswaran
c6191f834b Formatting updated for Podcasts 2015-03-13 13:40:45 -04:00
Prasanth Vaaheeswaran
02d3f52402 Created Podcasts section 2015-03-13 13:39:15 -04:00
Prasanth Vaaheeswaran
5a01165dbb Added a book to the book list
- Added Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
2015-03-13 13:35:47 -04:00
Jake Teton-Landis
e9b573287c naming files containing one class 2015-03-11 15:01:14 -07:00
Harrison Shoff
20cce8f60d Merge pull request #248 from justjake/else
add `else` to docs
2015-03-10 20:07:48 -07:00
Jake Teton-Landis
af096c8a94 add else to docs 2015-03-10 16:50:20 -07:00
Harrison Shoff
656a8f6781 [in the wild] add @Jam3 2015-03-03 12:45:16 -08:00
Harrison Shoff
b49d58ff0b [resources] add frontend guidlines by @bendc 2015-02-25 00:28:55 -08:00
Harrison Shoff
60c8972c29 Merge pull request #241 from nimbl3/master
Adding Nimbl3 to the organizations list
2015-02-12 09:03:00 -08:00
Omar Duarte
b0a364dedb Missed a semicolon 2015-02-12 00:11:37 -08:00
Carlos Andres Herrera
5406076002 Adding Nimbl3 to the organizations list 2015-02-12 12:23:23 +07:00
Eli White
80e698eb65 Using better examples 2015-02-08 09:39:51 -08:00
Eli White
533e9ea7ba Adding comments about spacing between blocks 2015-02-07 23:35:19 -08:00
Jigsaw
cedfc81848 Update README.md
Add Chinese(Traditional) to Translation.
2015-02-04 19:18:48 +08:00
Davy Chiu
384d65e472 add Apartmint to list of organizations 2015-01-31 23:46:58 -05:00
Harrison Shoff
7a9ca5a78a Merge pull request #230 from justjake/no-trailing-dot
put the dot with fn name when chaining
2015-01-30 13:30:40 -08:00
Jake Teton-Landis
33363af613 put the dot with fn name when chaining 2015-01-30 13:28:45 -08:00
Preston Parry
233c1db73a Update README.md 2015-01-27 17:48:00 -08:00
Preston Parry
a280e9595f Punctuation tweak 2015-01-21 23:04:39 -08:00
Leonardo Micheloni
b4c87b1ba9 Added Kinetica solutions to organizations list 2015-01-02 15:20:27 -03:00
Gabriel Pedro
7ab3b29463 Brazilian Portuguese Flag 2014-12-15 15:36:12 -03:00
Jake Teton-Landis
3c68fc4946 Reformat var change 2014-12-03 17:41:15 -08:00
Jake Teton-Landis
b61d52ca41 use JSDoc/Closure Compiler style type annotations 2014-12-01 14:28:20 -08:00
Jake Teton-Landis
8d51bd504b Switch from single var to one-var-per-variable
Frontenders at Airbnb at have been discussing this change for a bit, and
we've come to favor one-var-per-variable over one-var-only declarations.
Two things improve the maintainability of this style over one var for
multiple variables:

 1. You never have a diff of a line that's removing a `;` and inserting
    a `,`.
 2. You can't accidentally declare global variables because you have a
    one-character mistake (semicolon instead of comma):

    ```javascript
    var foo = 1,
        bar = 2;
        baz = 3; // added later and (accidentally) declared globally
    ```
2014-12-01 14:20:22 -08:00