Closed Bug 1261505 Opened 4 years ago Closed 4 years ago

Use consistent syntax for prototype methods

Categories

(DevTools :: Shared Components, defect)

defect
Not set

Tracking

(firefox48 fixed)

RESOLVED FIXED
Firefox 48
Tracking Status
firefox48 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

Details

Attachments

(1 file)

All the other methods use the style

  {
    myMethod() { ... }
  }

while these two methods use

  {
    myMethod: function () { ... }
  }

For consistency, we should use the common style here.
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Attachment #8737379 - Flags: review?(jsantell) → review+
https://hg.mozilla.org/mozilla-central/rev/41d126344f3d
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.