cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
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:

  == 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 {{{ {} [] '' }}}

View raw message