[wp-trac] [WordPress Trac] #25957: jshint shouldn't throw errors: wp-includes/js/utils.js

WordPress Trac noreply at wordpress.org
Wed Nov 13 23:26:01 UTC 2013


#25957: jshint shouldn't throw errors: wp-includes/js/utils.js
-----------------------------+------------------------------
 Reporter:  adamsilverstein  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Build Tools      |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------

Comment (by adamsilverstein):

 [attachment: 25957.diff​] changes:
 * swap double for single quotes
 * add globals
 * add jshint config don't check undefined: functions used elsewhere in
 core
 * change != 0 to !== 0 @L80

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


More information about the wp-trac mailing list