This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | Mon May 11 18:49:51 -0700 2009 | |
| |
konamicode.js | Mon May 11 18:06:47 -0700 2009 |
README
jQuery Konami Code Plugin
by Kyle Bragger <kyle@kylebragger.com>
Created May 11, 2009
Do with it what you will.
Usage:
$(document).ready(function(){
$('body').upUpDownDown({
watchFor: [38,38,40,40,37,39,37,39,66,65], // Array of keyCode and charCodes to watch for
// This represents a sequence, ordered left (first) to right
(last), so:
// [38,38,40,40,37,39,37,39,66,65] == up up down down left right
left right B A, in that order
callback: function(){
// Do some fancy shit here.
}
});
});







