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

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 8 21:11:55 UTC 2012


#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:                      |
--------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:1 kurtpayne]:
 > API as of 0.8:
 >
 > {{{
 > $(document).bind('keyup', 'Ctrl+C', function() {...});
 > }}}

 According to the
 [https://github.com/tzuryby/jquery.hotkeys/blob/master/README.md readme]
 and
 [https://github.com/tzuryby/jquery.hotkeys/issues/1#issuecomment-5930686
 this comment], the correct syntax is this:
 {{{
 $(document).bind('keydown.ctrl_a', fn);
 }}}

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


More information about the wp-trac mailing list