[wp-trac] [WordPress Trac] #26008: jshint shouldn't throw errors: wp-admin/js/set-post-thumbnail.js

WordPress Trac noreply at wordpress.org
Fri Nov 15 05:10:47 UTC 2013


#26008: jshint shouldn't throw errors: wp-admin/js/set-post-thumbnail.js
--------------------------+------------------------------
 Reporter:  atimmer       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Build Tools   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by nacin):

 Rather than `window.`, we're going to use `/* global */`. This is in part
 to help us identify globals we use and ideally cut down on them in the
 future. Or in this case, to self-flog ourselves for using confirm() and
 alert().

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


More information about the wp-trac mailing list