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

WordPress Trac noreply at wordpress.org
Thu Nov 14 08:53:29 UTC 2013


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

 * keywords:   => has-patch


Comment:

 The attached patch files fixes the following JSLint problems:

 * missing radix parameter in the parseInt function
 * 3 times unused "e" variable in the callback for the events
 * unachievable break statement after the return
 * mixed tabs and spaces in one place

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


More information about the wp-trac mailing list