Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 832 Bytes
1 | var ShortcutKeysBehavior = Behavior.create({ |
2 | onkeydown: function(event){ |
3 | var character = String.fromCharCode(event.keyCode); |
4 | if(!event.shiftKey && !character.blank()) |
5 | character = character.toLowerCase(); |
6 | if(event.ctrlKey && event.keyCode != 17){ |
7 | var button = $$('input[accesskey='+character+']')[0]; |
8 | if(button){ |
9 | event.stop(); |
10 | button.click(); |
11 | } else { |
12 | var control = TabControls['tab_control']; |
13 | if(event.keyCode == 219){ // [ |
14 | control.selectPreviousTab(); |
15 | } |
16 | if(event.keyCode == 221){ // ] |
17 | control.selectNextTab(); |
18 | } |
19 | if(event.keyCode >= 49 && event.keyCode <= 57){ // 1..9 |
20 | var index = event.keyCode - 49; |
21 | control.selectTabByIndex(index); |
22 | event.stop(); |
23 | } |
24 | } |
25 | } |
26 | } |
27 | }); |