[wp-trac] [WordPress Trac] #26041: jshint shouldn't throw errors: wp-includes/js/plupload/handlers.js

WordPress Trac noreply at wordpress.org
Fri Nov 15 03:18:36 UTC 2013


#26041: jshint shouldn't throw errors: wp-includes/js/plupload/handlers.js
--------------------------+-----------------------------
 Reporter:  mdbitz        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Build Tools   |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26041>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list