killed debugger statements

This commit is contained in:
lengstrom 2015-09-25 20:57:14 -04:00
parent 6ae27da345
commit a2d914086f
4 changed files with 0 additions and 13 deletions

View file

@ -142,7 +142,6 @@
<script type="text/javascript">
(function addRussianSocialShare(){
var lang=navigator.language || navigator.userLanguage;
// debugger;
if (lang.substr(0, 2) == 'ru') {
$('.rrssb-facebook').remove();
var n=$.parseHTML('<li class="rrssb-vk"><a href="http://vk.com/share.php?url=http://kurtnoble.com/labs/rrssb/index.html" class="popup"><span class="rrssb-icon"><svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="70 70 378.7 378.7"><path d="M254.998 363.106h21.217s6.408-.706 9.684-4.23c3.01-3.24 2.914-9.32 2.914-9.32s-.415-28.47 12.796-32.663c13.03-4.133 29.755 27.515 47.482 39.685 13.407 9.206 23.594 7.19 23.594 7.19l47.407-.662s24.797-1.53 13.038-21.027c-.96-1.594-6.85-14.424-35.247-40.784-29.728-27.59-25.743-23.126 10.063-70.85 21.807-29.063 30.523-46.806 27.8-54.405-2.596-7.24-18.636-5.326-18.636-5.326l-53.375.33s-3.96-.54-6.892 1.216c-2.87 1.716-4.71 5.726-4.71 5.726s-8.452 22.49-19.714 41.618c-23.77 40.357-33.274 42.494-37.16 39.984-9.037-5.842-6.78-23.462-6.78-35.983 0-39.112 5.934-55.42-11.55-59.64-5.802-1.4-10.076-2.327-24.915-2.48-19.046-.192-35.162.06-44.29 4.53-6.072 2.975-10.757 9.6-7.902 9.98 3.528.47 11.516 2.158 15.75 7.92 5.472 7.444 5.28 24.154 5.28 24.154s3.145 46.04-7.34 51.758c-7.193 3.922-17.063-4.085-38.253-40.7-10.855-18.755-19.054-39.49-19.054-39.49s-1.578-3.873-4.398-5.947c-3.42-2.51-8.2-3.307-8.2-3.307l-50.722.33s-7.612.213-10.41 3.525c-2.488 2.947-.198 9.036-.198 9.036s39.707 92.902 84.672 139.72c41.234 42.93 88.048 40.112 88.048 40.112"/></svg></span><span class="rrssb-text">vk.com</span></a></li>');

View file

@ -46,10 +46,8 @@ function initialize(a) {
window.setTimeout(callback, 1000 / framerate);
};
})();
$('#clickToExit').bind('click', toggleDevTools);
window.settings;
if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
$('.rrssb-email').remove();
settings = {
@ -120,14 +118,10 @@ function initialize(a) {
highscores = [];
}
}
window.blocks = [];
window.MainHex;
window.gdx = 0;
window.gdy = 0;
window.devMode = 0;
window.lastGen = undefined;
window.prevTimeScored = undefined;
@ -136,10 +130,8 @@ function initialize(a) {
window.importing = 0;
window.importedHistory = undefined;
window.startTime = undefined;
window.gameState;
setStartScreen();
if (a != 1) {
window.canRestart = 1;
window.onblur = function(e) {
@ -147,9 +139,7 @@ function initialize(a) {
pause();
}
};
$('#startBtn').off();
if (settings.platform == 'mobile') {
$('#startBtn').on('touchstart', startBtnHandler);
} else {

View file

@ -344,7 +344,6 @@ function checkGameOver() {
}
function showHelp() {
// debugger;
if ($('#openSideBar').attr('src') == './images/btn_back.svg') {
$('#openSideBar').attr('src', './images/btn_help.svg');
if (gameState != 0 && gameState != -1 && gameState != 2) {

View file

@ -71,7 +71,6 @@ function renderBeginningText() {
var text = '';
var mob, fontSize;
console.log(navigator.userAgent);
debugger;
if(/mobile|Mobile|iOS|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
mob = true;
input_text = 'Tap the screen\'s left and ride'