| OLD | NEW |
| 1 /* | 1 /* |
| 2 * jQuery Hotkeys Plugin | 2 * jQuery Hotkeys Plugin |
| 3 * Copyright 2010, John Resig | 3 * Copyright 2010, John Resig |
| 4 * Dual licensed under the MIT or GPL Version 2 licenses. | 4 * Dual licensed under the MIT or GPL Version 2 licenses. |
| 5 * | 5 * |
| 6 * Based upon the plugin by Tzury Bar Yochay: | 6 * Based upon the plugin by Tzury Bar Yochay: |
| 7 * http://github.com/tzuryby/hotkeys | 7 * http://github.com/tzuryby/hotkeys |
| 8 * | 8 * |
| 9 * Original idea by: | 9 * Original idea by: |
| 10 * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ | 10 * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 } | 90 } |
| 91 } | 91 } |
| 92 }; | 92 }; |
| 93 } | 93 } |
| 94 | 94 |
| 95 jQuery.each([ "keydown", "keyup", "keypress" ], function() { | 95 jQuery.each([ "keydown", "keyup", "keypress" ], function() { |
| 96 jQuery.event.special[ this ] = { add: keyHandler }; | 96 jQuery.event.special[ this ] = { add: keyHandler }; |
| 97 }); | 97 }); |
| 98 | 98 |
| 99 })( jQuery ); | 99 })( jQuery ); |
| OLD | NEW |