An open API service indexing awesome lists of open source software.

https://github.com/amiel/konami

Fires the 'konami' event when the konami code has been completed.
https://github.com/amiel/konami

Last synced: 4 months ago
JSON representation

Fires the 'konami' event when the konami code has been completed.

Awesome Lists containing this project

README

          

h1. Konami in jQuery

Fires the 'konami' event when the konami code has been completed.

h2. Usage



$.konami(function() {
// this will get run when the konami code is completed
});

h3. Changing the Cheat



$.konami.cheat = [38,38,40,40,37,39,37,39,66,65,13]; // up up down down left right left right b a return

The default is

[38,38,40,40,37,39,37,39,66,65]
(up up down down left right left right b a).