Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#26020 closed defect (bug) (fixed)

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

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

Description

Resolving JSHint reported errors:

W041 Use '===' to compare with '0'.
W041 Use '===' to compare with .
W117 'ajaxurl' is not defined.
W117 'wpAjax' is not defined.
W117 'wpAjax' is not defined.

Attachments (1)

26020.patch​ (884 bytes ) - added by seanchayes 13 years ago.

Download all attachments as: .zip

Change History (4)

@seanchayes
13 years ago

#1 @seanchayes
13 years ago

  • Keywords has-patch added

#2 @nacin
13 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In 26200:

Fix JSHint errors in 5 files.

props seanchayes.
fixes #26015, #26020, #26019, #26034, #26022.

#3 @nacin
13 years ago

  • Milestone Awaiting Review → 3.8

Moving fixed JSHint error tickets to 3.8.

Note: See TracTickets for help on using tickets.