diff --git a/README.md b/README.md index b068477..4115b8f 100644 --- a/README.md +++ b/README.md @@ -162,11 +162,11 @@ hotkeys('o, enter', { console.log('do something else'); }); -hotkeys('ctrl-+', {splitKey: '-'}, function(e) { +hotkeys('ctrl-+', { splitKey: '-' }, function(e) { console.log('you pressed ctrl and +'); }); -hotkeys('+', {splitKey: '-'}, function(e){ +hotkeys('+', { splitKey: '-' }, function(e){ console.log('you pressed +'); }) ```