[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 /** 2 * @provides javelin-behavior-phabricator-keyboard-pager 3 * @requires javelin-behavior 4 * javelin-uri 5 * phabricator-keyboard-shortcut 6 */ 7 8 JX.behavior('phabricator-keyboard-pager', function(config) { 9 10 new JX.KeyboardShortcut('[', 'Prev Page') 11 .setHandler(function() { 12 if (config.prev) { 13 JX.$U(config.prev).go(); 14 } 15 }) 16 .register(); 17 18 new JX.KeyboardShortcut(']', 'Next Page') 19 .setHandler(function() { 20 if (config.next) { 21 JX.$U(config.next).go(); 22 } 23 }) 24 .register(); 25 26 });
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |