[wp-trac] [WordPress Trac] #25970: jshint shouldn't throw errors: wp-includes/js/admin-bar.js

WordPress Trac noreply at wordpress.org
Thu Nov 14 05:43:19 UTC 2013


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

Comment (by nacin):

 Replying to [comment:1 kadamwhite]:
 > See #14772 for the genesis story of this file. I'm not 100% sure whether
 the loopfunc-related code is even originally first-party, but it's been
 around for a while.

 It's HoverIntent, bundled here to avoid the extra HTTP request. If jQuery
 is available (as provided by the theme or a plugin), the admin bar uses
 jQuery + HoverIntent. If it isn't , it uses its own raw JS. Fun times...

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


More information about the wp-trac mailing list