Permalink
Browse files

Merge pull request #5 from livibetter/add-ctrl-r

Add ctrl+r to test.html
  • Loading branch information...
2 parents dec7d0a + f5d143e commit d1f5c766ff7d0350a6b6011758b042bf1daa1f26 @madrobby madrobby committed Aug 28, 2011
Showing with 6 additions and 6 deletions.
  1. +3 −3 README.markdown
  2. +3 −3 test.html
View
@@ -17,14 +17,14 @@ key('c', 'issues', function(){
console.log('c/issues');
});
-key('command+r', 'issues', function(){
- console.log('Hijacked Command+R, damn!');
+key('command+r, ctrl+r', 'issues', function(){
+ console.log('Hijacked Command+R or Ctrl+R, damn!');
return false;
});
key('i', function(){
keyScope('issues');
- console.log('Switched to "issues" scope. Command+R is now no longer reloading...');
+ console.log('Switched to "issues" scope. Command+R or Ctrl+R is now no longer reloading...');
});
key('i', function(){
View
@@ -31,14 +31,14 @@
console.log('c/issues');
});
- key('command+r', 'issues', function(){
- console.log('Hijacked Command+R, damn!');
+ key('command+r, ctrl+r', 'issues', function(){
+ console.log('Hijacked Command+R or Ctrl+R, damn!');
return false;
});
key('i', function(){
keyScope('issues');
- console.log('Switched to "issues" scope. Command+R is now no longer reloading...');
+ console.log('Switched to "issues" scope. Command+R or Ctrl+R is now no longer reloading...');
});
key('i', function(){

0 comments on commit d1f5c76

Please sign in to comment.