Commit Graph

295 Commits

Author SHA1 Message Date
Gabriel Pedro
7ab3b29463 Brazilian Portuguese Flag 2014-12-15 15:36:12 -03:00
Harrison Shoff
f0781a8971 Merge pull request #220 from justjake/master
Switch to one-variable-per-var from many-variables-per-var
2014-12-03 17:54:30 -08: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
Harrison Shoff
bae9bc6b36 Merge pull request #219 from studentsphere/master
Update README.md, Add StudentSphere in the list
2014-11-26 12:03:36 -08:00
Allan Bettarel
7f393a4120 Update README.md
Add StudentSphere in the list
2014-11-26 12:29:20 -05:00
Harrison Shoff
a224d0a156 [chat] add gitter badge 2014-11-16 20:06:19 -08:00
Harrison Shoff
b2357ce19a [translations] use bigger, shinier flags 2014-11-16 20:05:13 -08:00
Harrison Shoff
4b24cc1c25 [translations] use gosquared flags for consistency 2014-11-16 19:59:48 -08:00
Harrison Shoff
2a18bc46f8 Merge pull request #214 from mjurczyk/add-polish-to-english
Add polish reference to the english version
2014-11-14 16:03:04 -08:00
Maciej Jurczyk
90f3dc357f Also the flag of the Portugal was missing 2014-11-15 00:45:20 +01:00
Maciej Jurczyk
2522afab5d Also fixed Bulgarian flag icon 2014-11-15 00:43:30 +01:00
Maciej Jurczyk
da9103f11b Fixed flag icon 2014-11-15 00:41:53 +01:00
Maciej Jurczyk
058e9adce3 Added a link to the translated tutorial 2014-11-15 00:33:44 +01:00
Harrison Shoff
d14b219b8a [chat] add gitter badge 2014-11-12 17:03:37 +00:00
Harrison Shoff
0baa1054ed [chat] add link to gitter, come chat with us about js 2014-11-12 16:56:56 +00:00
Harrison Shoff
011726634c Merge pull request #209 from Weggo/master
Included Weggo as one of the companies actively using this style guide
2014-11-03 18:34:08 -05:00
Joseandro Luiz
d4f2668784 Included Weggo as one of the style guide users 2014-11-03 14:13:53 +01:00
Harrison Shoff
ef4420bfa0 [in the wild] add InfoJobs. fixes #203 2014-10-29 00:17:44 -07:00
Harrison Shoff
21a44a7627 [in the wild] add Target 2014-10-29 00:15:03 -07:00
romanfuchs
54254cba48 Merge pull request #206 from sronnlund/master
Missing semicolon
2014-10-27 13:38:44 -07:00
Sebastian Rönnlund
6cbf79a6e7 Added missing semicolon. 2014-10-27 21:27:07 +01:00
Harrison Shoff
18a1ee5b13 Merge pull request #202 from fpmweb/patch-1
Catalan: added new translation
2014-10-02 11:48:28 -07:00
Francesc Puig
a02795efda Catalan: added new translation
Update the translations section with a new translation that is in development.
2014-10-02 16:40:30 +02:00
Harrison Shoff
dac79476f8 Merge pull request #201 from ateich/patch-1
Added author to Conditional Callbacks
2014-09-22 18:44:42 -07:00
Andrew Teich
aaf2f2e24b Added author to Conditional Callbacks
On Line 1446, gave credit to Ross Allen who wrote Conditional Callbacks
2014-09-22 17:36:28 -07:00
Harrison Shoff
9c58254034 Merge pull request #200 from jjmerino/patch-1
Added missing author in: Other Styles
2014-09-22 14:12:31 -07:00
Jose Joaquin Merino
6161375094 Added author in: Other Styles
JeongHoon Byun (https://github.com/outsideris) created the website that this repo links to.
2014-09-22 12:35:31 -07:00
Harrison Shoff
311e296d9a Merge pull request #199 from ogwiz2/master
Added author for JSBooks
2014-09-22 11:15:29 -07:00
Alexander Jeng
cdb49a3478 Added author for JSBooks 2014-09-21 21:31:18 -07:00
Harrison Shoff
e0917c8023 [resources] add clarity to new tools section 2014-09-19 11:52:54 -07:00
Harrison Shoff
e7c2997b3c [resources] add tools section, include JSHint & JSCS 2014-09-19 11:42:07 -07:00
Harrison Shoff
38fd77e159 [in the wild] add Evernote. fixes #193 2014-09-08 10:42:50 -07:00
Harrison Shoff
b81a740241 [in the wild] add VoxFeed. fixes #192 2014-09-08 10:41:36 -07:00
Harrison Shoff
0b0a41704c Merge pull request #195 from Avalara/master
Adding Avalara to list of orgs
2014-09-08 10:38:45 -07:00
Justin Soliz
e46091bf44 Adding Avalara to list of orgs 2014-09-08 10:11:29 -07:00
Harrison Shoff
b756073522 [resources] add link to 'multiple var statements' in other styles 2014-08-13 18:06:26 -07:00
Harrison Shoff
c81eac1c16 Merge pull request #186 from airbnb/package-publish
Package publish
2014-08-05 18:02:00 -07:00
Harrison Shoff
9f535bd724 [npm] remove main, index.js 2014-08-05 16:48:54 -07:00
Harrison Shoff
4648120904 [npm] add package.json 2014-08-05 16:27:06 -07:00
Harrison Shoff
dc399207ea Merge pull request #182 from mstorus/master
jshintrc cleanup
2014-08-05 15:02:23 -07:00
Harrison Shoff
6a71352a16 Merge pull request #184 from intentmedia/intentmedia
Adding Intent Media to the list of companies
2014-08-05 10:53:22 -07:00
Adrian Bruinhout
cccf3644b1 Adding Intent Media to the list of companies 2014-08-05 12:16:53 -04:00
Mark Storus
697aa00da0 jshintrc cleanup
- eqnull is a relaxing option, not an enforcing option
- trailing has been removed as of jshint 2.5
- put in alphabetical order
2014-07-29 16:09:54 -07:00
Harrison Shoff
06be2ba709 Merge pull request #179 from muber/updates
[in the wild] Muber
2014-06-30 09:16:44 -07:00
Francis Plaza
0c36235c35 Added Muber to the list of organizations using this styleguide 2014-06-29 13:09:51 -04:00
Harrison Shoff
3187ab6c86 Merge pull request #164 from orionhealth/comment-lead-semi-colon-iife
Justify using a leading semi colon before an IIFE.
2014-06-20 16:39:36 -07:00
Harrison Shoff
da04925c26 Merge pull request #175 from jtfmumm/patch-1
Add TheLadders to the list of organizations that forked this style guide
2014-06-16 11:10:25 -07:00
John Mumm
214bf78ea8 Add TheLadders to the list of organizations that forked this style guide 2014-06-16 09:50:25 -04:00