Changes between Version 3 and Version 4 of WebInspectorCodingStyleGuide


Ignore:
Timestamp:
Nov 7, 2013 9:08:29 AM (11 years ago)
Author:
Alexandru Chiculita
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebInspectorCodingStyleGuide

    v3 v4  
    55* The opening bracket "{" after a named function goes on the next line. Anywhere else, the opening bracket "{" stays on the same line.
    66* Style for JavaScript Object Literals is: {key1: value1, key2: value2}.
     7* Calling a constructor with no arguments should have no ( ). eg. "var map = new Map;"
    78* Inline anonymous functions, especially if they don't need a .bind(). Example:
    89{{{