WordPress.org

Make WordPress Core

Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#26013 closed defect (bug) (fixed)

jshint shouldn't throw errors: wp-includes/js/wp-pointer.js

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

Description

jshint cleanup of wp-includes/js/wp-pointer.js

W109 : Strings must use singlequote
W033 : Missing semicolon
W117 : wpPointerL10n is not defined
W098 : ['t', 'event', 'respond'] is defined but never used.

Attachments (1)

26013.diff (2.6 KB) - added by mdbitz 17 months ago.
jshint cleanup of wp-pointer.js (singlequotes, unused variables, globals)

Download all attachments as: .zip

Change History (4)

@mdbitz17 months ago

jshint cleanup of wp-pointer.js (singlequotes, unused variables, globals)

comment:1 @mdbitz17 months ago

  • Cc matt@… added
  • Keywords has-patch added

comment:2 @nacin17 months ago

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

In 26195:

Fix JSHint errors in six files.

props mdbitz.
fixes ##26011, #26012, #26013, #26014, #26038, #26039.

comment:3 @nacin17 months ago

  • Milestone changed from Awaiting Review to 3.8

Moving fixed JSHint error tickets to 3.8.

Note: See TracTickets for help on using tickets.