Edgewall Software

Changes between Version 20 and Version 21 of TracDev/CodingStyle


Ignore:
Timestamp:
Jan 14, 2015, 12:28:52 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

Minor markup change.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/CodingStyle

    v20 v21  
    5757* Define non-anonymous functions as `function fooBar() {...}` (rather than `var fooBar = function() {...}`)
    5858* Keep as much as possible private, by defining private functions in an inner scope. Attach functions you want to export to the $ symbol.
    59 * Use a "trac-" prefix for all id and class names. (For new names. Changing old names would break customizations.)
     59* Use a `trac-` prefix for all id and class names. (For new names. Changing old names would break customizations.)
    6060* Prefix variables containing a jQuery object with `$`.
    6161