The Contra (Konami) code in JavaScript
JavaScript HTML
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
examples
src
.gitignore
Brocfile.js
package.json
readme.md

readme.md

Add the Contra (Konami) code to any website.

All you have to do is include the contra.js script:

<script src="contra.js" type="text/javascript" charset="utf-8"></script>

You can either react based on css styles:

body.contra div.foo {
  /* Awesome style here */
}

Or you can add your own javascript handlers and the possibilities are endless:

Contra.addHandler(function() {
  // Awesome things here
});

Develop

$ npm install
$ npm install -g broccoli-cli

Build

$ broccoli build dist