Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jish/contra
The Contra (Konami) code in JavaScript
https://github.com/jish/contra
Last synced: 2 months ago
JSON representation
The Contra (Konami) code in JavaScript
- Host: GitHub
- URL: https://github.com/jish/contra
- Owner: jish
- Created: 2011-08-20T19:21:36.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-03-05T03:00:44.000Z (almost 10 years ago)
- Last Synced: 2023-04-11T18:26:06.840Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 105 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Add the Contra (Konami) code to any website.
All you have to do is include the `contra.js` script:
```html
```
You can either react based on css styles:
```css
body.contra div.foo {
/* Awesome style here */
}
```Or you can add your own javascript handlers and the possibilities are endless:
```js
Contra.addHandler(function() {
// Awesome things here
});
```### Develop
$ npm install
$ npm install -g broccoli-cli### Build
$ broccoli build dist