Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated readme

  • Loading branch information...
commit a640e27c4d0200702fe8a72d98a01223ba8b9e43 1 parent d5e16ea
@kylebragger authored
Showing with 3 additions and 4 deletions.
  1. +2 −2 README
  2. +1 −2  konamicode.js
View
4 README
@@ -7,8 +7,8 @@
$(document).ready(function(){
$('body').upUpDownDown({
- watchFor: '38384040373937396665', // String of keyCode and charCodes to watch for
- // 38384040373937396665 == up up down down left right left right B A
+ watchFor: [38,38,40,40,37,39,37,39,66,65], // Array of keyCode and charCodes to watch for
+ // [38,38,40,40,37,39,37,39,66,65] == up up down down left right left right B A
callback: function(){
// Do some fancy shit here.
}
View
3  konamicode.js
@@ -9,8 +9,7 @@
$(document).ready(function(){
$('body').upUpDownDown({
- watchFor: '38384040373937396665', // String of keyCode and charCodes to watch for
- // 38384040373937396665 == up up down down left right left right B A
+ watchFor: [38,38,40,40,37,39,37,39,66,65],
callback: function(){
// Do some fancy shit here.
}

0 comments on commit a640e27

Please sign in to comment.
Something went wrong with that request. Please try again.