Yahoo Canada Web Search

Search results

  1. Airbnb JavaScript Style Guide () { A mostly reasonable approach to JavaScript. Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent. This guide is available in other languages too.

    • React

      Airbnb JavaScript Style Guide A mostly reasonable approach...

  2. A mostly reasonable approach to JavaScript. Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent. This guide is available in other languages too.

  3. Overview: We recently rethought the architecture for the JavaScript side of our codebase at Airbnb. This post will look at (1) the product drivers that precipitated the changes, (2) the steps...

  4. Aug 11, 2016 · Breathing air into AirBnBs JavaScript Style Guide. No one sets out to write ugly, inconsistently-styled code. It just sort of happens. Even as the only developer on a project, the more time...

  5. Aug 11, 2016 · You definitely shouldn’t be nesting code deeper than 3 or 4 layers inside a JavaScript file (it’s a code smell). So having 4 spaces offers you better readability, while preserving other rules like keeping your code within a 80 or 120 character-per-line limit.

  6. Nov 5, 2012 · 1. By Harrison Shoff. Check it out on Github: https://github.com/airbnb/javascript. Everyone writes JavaScript a little differently. We finally decided it was time that we got together...

  7. People also ask

  8. This allows a subsequent contributor to add more data to the event payload without finding and updating every handler for the event. For example, instead of: ```js // bad $(this).trigger('listingUpdated', listing.id); ...

  1. People also search for