Changes between Version 16 and Version 17 of WebInspectorCodingStyleGuide


Ignore:
Timestamp:
Aug 28, 2015, 3:25:44 PM (9 years ago)
Author:
Joseph Pecoraro
Comment:

Tweaked code sample a bit.

Legend:

Unmodified
Added
Removed
Modified
  • WebInspectorCodingStyleGuide

    v16 v17  
    146146
    147147{{{
    148 WebInspector.NewObjectType = class NewObjectType extends WebInspector.Object {
     148WebInspector.NewObjectType = class NewObjectType extends WebInspector.Object
     149{
    149150    constructor(param)
    150151    {
    151152       super();
     153       console.assert(param instanceof WebInspector.ExpectedType);
    152154       this._propertyName = param;
    153155    }
    154156
    155157    // Static
    156     computeBestWidth(things)
     158
     159    static computeBestWidth(things)
    157160    {
    158161        ....