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

WordPress Trac noreply at wordpress.org
Sat Nov 16 19:57:12 UTC 2013


#26041: jshint shouldn't throw errors: wp-includes/js/plupload/handlers.js
--------------------------+---------------------
 Reporter:  mdbitz        |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.8
Component:  Build Tools   |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Description changed by SergeyBiryukov:

Old 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

New 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
 }}}

--

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


More information about the wp-trac mailing list