Skip to content
/ konami Public

Fires the 'konami' event when the konami code has been completed.

Notifications You must be signed in to change notification settings

amiel/konami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Konami in jQuery

Fires the ‘konami’ event when the konami code has been completed.

Usage


		$.konami(function() {
		  // this will get run when the konami code is completed
		});

Changing the Cheat


  $.konami.cheat = [38,38,40,40,37,39,37,39,66,65,13]; // up up down down left right left right b a return

The default is

[38,38,40,40,37,39,37,39,66,65]
(up up down down left right left right b a).

About

Fires the 'konami' event when the konami code has been completed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published