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
Fixes issue #61 — Konami-JS doesn't play nicely when imported as a module in modern JavaScript!
The fix was quick—cleaning up my super-sloppy code from 2009 and don't pollute the global namespace with these variables (i.e. add var in front of them).
Fixes issue #61 — Konami-JS doesn't play nicely when imported as a module in modern JavaScript!
The fix was quick—cleaning up my super-sloppy code from 2009 and don't pollute the global namespace with these variables (i.e. add
var
in front of them).