[wp-trac] [WordPress Trac] #19489: Consider updating jquery.hotkeys plugin

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 10 00:10:46 UTC 2011


#19489: Consider updating jquery.hotkeys plugin
--------------------------------+------------------------------
 Reporter:  GaryJ               |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:  3.3
 Severity:  normal              |  Resolution:
 Keywords:                      |
--------------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)


Comment:

 It looks like there was a version jump from 0.03 to 0.7.  The later
 version looks like a complete rewrite.  As of 0.8, the project was moved
 to github.  I can't find anything about releases 0.4 through 0.6.

 The API has changed, too.  API as of 0.03:

 {{{
 $.hotkeys.add('Ctrl+C', {options ... }, function() {...});
 }}}

 API as of 0.8:

 {{{
 $(document).bind('keyup', 'Ctrl+C', function() {...});
 }}}

 I tested this on a local installation and was getting some very odd
 behavior similar to [https://github.com/tzuryby/jquery.hotkeys/issues/1
 this comment].  After some investigation, I wasn't able to discern the
 root cause.

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


More information about the wp-trac mailing list