Skip to content

Commit

Permalink
Merge pull request #5 from livibetter/add-ctrl-r
Browse files Browse the repository at this point in the history
Add ctrl+r to test.html
  • Loading branch information
madrobby committed Aug 28, 2011
2 parents dec7d0a + f5d143e commit d1f5c76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.markdown
Expand Up @@ -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(){
Expand Down
6 changes: 3 additions & 3 deletions test.html
Expand Up @@ -31,14 +31,14 @@ <h1>
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(){
Expand Down

0 comments on commit d1f5c76

Please sign in to comment.