Simple system for detecting the entry of the famous Konami code and attaching an event
Switch branches/tags
Nothing to show
Pull request Compare This branch is 9 commits behind palmerj3:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
example.html
konami.js

README.md

konami-js

Simple system for detecting the entry of the famous Konami code and attaching an event

Example:

(function() {
  var konami = new Konami();
  konami.onSuccess(function() {
    alert('You win!');
  });
}());