georgemandis / konami-js

Adding the Konami Code easter egg to your projects since 2009! Compatible with gestures on smartphones and tablets as well. Compatible with all front-end frameworks and vanilla JavaScript
http://konamijs.mand.is/
MIT License
959 stars 122 forks source link

Beautified the code #11

Closed phy25 closed 11 years ago

phy25 commented 11 years ago

Converted spaces to tabs, and fixed the indentation.

sukima commented 11 years ago

Oh cool! I thought about doing this. :+1:

georgemandis commented 11 years ago

Thanks! Would you mind redoing it with the latest commit that removes "enter" entirely? I'll merge it then.

phy25 commented 11 years ago

Done it.

abritinthebay commented 11 years ago

You'll need to remove one of the Taps too (A, B, Start is Tap, Tap, Tap in the iPhone... should be Tap, Tap).

sukima commented 11 years ago

@abritinthebay and @phy25, you two realize that PR #10 already did this?

phy25 commented 11 years ago

@sukima I have seen it before so I added commits to change the pattern to fit the latest code... Now should I make another patch?

phy25 commented 11 years ago

OK another patch is ready: #12.

georgemandis commented 11 years ago

Pulled in request #12 - thanks!