|
|
@ -4,7 +4,7 @@ |
|
|
|
* :: those situations that call for multiple easter eggs! |
|
|
|
* Code: https://github.com/snaptortoise/konami-js
|
|
|
|
* Copyright (c) 2009 George Mandis (georgemandis.com, snaptortoise.com) |
|
|
|
* Version: 1.6.1 (6/25/2018) |
|
|
|
* Version: 1.6.2 (7/17/2018) |
|
|
|
* Licensed under the MIT License (http://opensource.org/licenses/MIT)
|
|
|
|
* Tested in: Safari 4+, Google Chrome 4+, Firefox 3+, IE7+, Mobile Safari 2.2.1+ and Android |
|
|
|
*/ |
|
|
@ -84,9 +84,9 @@ var Konami = function (callback) { |
|
|
|
}, |
|
|
|
touchendHandler: function () { |
|
|
|
konami.iphone.input.push(konami.iphone.check_direction()); |
|
|
|
|
|
|
|
|
|
|
|
if (konami.iphone.input.length > konami.iphone.keys.length) konami.iphone.input.shift(); |
|
|
|
|
|
|
|
|
|
|
|
if (konami.iphone.input.length === konami.iphone.keys.length) { |
|
|
|
var match = true; |
|
|
|
for (var i = 0; i < konami.iphone.keys.length; i++) { |
|
|
|