WordPress.org

Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#26041 closed defect (bug)

jshint shouldn't throw errors: wp-includes/js/plupload/handlers.js — at Initial Version

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

Description

jshint cleanup of wp-includes/js/plupload/handlers.js

W109 : Strings must use singlequote.
W041 : Use '===' to compare with '0'
W069 : resize? is better written in dot notation
W033 : Missing semicolon
W014 : Bad line breaking before '+'
W117 : ['post_id', 'pluploadL10n', 'resize_width', 'resize_height', 'shortform', 'ajaxurl', 'type', 'deleteUserSetting', 'setUserSetting', 'plupload'] is not defined

Change History (1)

@mdbitz
7 years ago

initial jshint cleanup

Note: See TracTickets for help on using tickets.