The Contra (Konami) code in JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Add (inline) source map support. Mar 5, 2015
examples Adding docs to the snowman example. Aug 22, 2011
src Add (inline) source map support. Mar 5, 2015
.gitignore Use [Babel][1] to transpile ES (next) to ES (current) Mar 4, 2015
Brocfile.js
package.json Use [Babel][1] to transpile ES (next) to ES (current) Mar 4, 2015
readme.md Add GitHub flavored markdown to readme.md Mar 5, 2015

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