[wp-trac] [WordPress Trac] #25877: jshint shouldn't throw errors - wp-admin/js/color-picker.js

WordPress Trac noreply at wordpress.org
Sat Nov 9 22:05:47 UTC 2013


#25877: jshint shouldn't throw errors - wp-admin/js/color-picker.js
--------------------------+---------------------
 Reporter:  jorbin        |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.8
Component:  Build Tools   |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by kadamwhite):

 This has landed so it's irrelevant, but I did fix spaces to tabs and
 altered the variable declaration order to be more readable—Large objects
 can get messy in a `var` block, so it's best to declare them and leave
 them undefined at the start of the `var` statement and then define them on
 their own later. Keeps indentation and readability more sane.

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


More information about the wp-trac mailing list