incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cordova Wiki] Update of "StyleGuide" by PatrickMueller
Date Fri, 20 Jan 2012 17:59:52 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.

The "StyleGuide" page has been changed by PatrickMueller:
http://wiki.apache.org/cordova/StyleGuide?action=diff&rev1=6&rev2=7

  
  == JS ==
  
-   * four spaces softab '''or brian will kill you all'''
+   * four spaces '''or brian will kill you all'''; your editor probably supports "soft tabs"
which give you the UI of tabs, but actually uses spaces.  Use that, tab-lovers.
    * brace on same line or crockford will kill you all and semicolon insertion will expeditate
the catacism 
    * single quote your string literals; it looks cleaner
    * use literal syntax always {{{ {} [] '' }}}

Mime
View raw message