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.
- Host: GitHub
- URL: https://github.com/amiel/konami
- Owner: amiel
- Created: 2010-03-30T16:29:29.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2013-01-14T20:58:32.000Z (over 13 years ago)
- Last Synced: 2025-09-02T01:36:06.940Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
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).