Skip to content

soldair/jquery-konami-code-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

this is a quick konami code plugin that only supports binding a function at the window level to the konami event

example:
<script>
$(function(){//when the document is ready
	$.konami(function(){
		alert('konami!');
	});
});
</script>



wikipedia:
http://en.wikipedia.org/wiki/Konami_code

this extension does not require enter after the code  to activate.

About

bind javascript functions at a window level to the konami code [up up , down down , left right , left right , b a]

Resources

Stars

Watchers

Forks

Packages

No packages published