WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#25912 closed defect (bug) (fixed)

jshint shouldn't throw errors - wp-admin/js/common.js

Reported by: jorbin Owned by: nacin
Milestone: 3.8 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

Description


Attachments (5)

common.global.diff (437 bytes) - added by jorbin 20 months ago.
common.semicolon.diff (718 bytes) - added by jorbin 20 months ago.
common.vars.diff (2.2 KB) - added by jorbin 20 months ago.
common.eqeqeq.diff (1.2 KB) - added by jorbin 20 months ago.
commmon.all.diff (4.2 KB) - added by jorbin 20 months ago.

Download all attachments as: .zip

Change History (9)

@jorbin20 months ago

@jorbin20 months ago

@jorbin20 months ago

@jorbin20 months ago

@jorbin20 months ago

comment:1 @jorbin20 months ago

the === checks aren't risky here (and are thrown even with eqeqeq being false)

all.diff contains everything in one easy package.

comment:2 @jorbin20 months ago

  • Keywords has-patch added

comment:3 @nacin20 months ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 26112:

Free common.js of JSHint errors.

props jorbin.
fixes #25912.

comment:4 @nacin20 months ago

In 26208:

Residual JSHint fixes in common.js and edit-comments.js.

see #25912, #25979.

Note: See TracTickets for help on using tickets.