Skip to content

Commit

Permalink
Prune usage examples from jquery.konami.js lib header.
Browse files Browse the repository at this point in the history
  • Loading branch information
chromakode committed Apr 5, 2010
1 parent ef86e26 commit 6cb3c3b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/jquery.konami.js
Expand Up @@ -5,28 +5,6 @@
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Usage:
* // konami code unlocks the tetris
* $('#tetris').konami(function(){
* $(this).show();
* });
*
*
* // enable all weapons on 'idkfa'.
* // note that each weapon must be unlocked by its own code entry
* $('.weapon').konami(function(){
* $(this).addClass('enabled');
* }, {'code':[73, 68, 75, 70, 65]});
*
*
* // listens on any element that can trigger a keyup event.
* // unlocks all weapons at once
* $(document).konami(function(){
* $('.weapon').addClass('enabled');
* }, {'code':[73, 68, 75, 70, 65]});
*
*
*/
(function($){
$.fn.konami = function( fn, params ) {
Expand Down

0 comments on commit 6cb3c3b

Please sign in to comment.