From 1cda91e5da8f7d5a8b4bbf1b2e320dbc5ed2a5d8 Mon Sep 17 00:00:00 2001 From: Garrett Finucane Date: Tue, 19 Aug 2014 00:37:15 -0400 Subject: [PATCH 1/3] fixed share message --- js/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/view.js b/js/view.js index 131b18bb5..f32b5bda8 100644 --- a/js/view.js +++ b/js/view.js @@ -132,7 +132,7 @@ function showText(text) { } } } - messages['gameover'] += "
Share Your Score on Twitter!!!
" + messages['gameover'] += "
Share Your Score on Twitter!!!
" $("#overlay").html(messages[text]); $("#overlay").fadeIn("1000", "swing"); From c80bbe02dda22470db6f2d8ff853fc54a29e7dd0 Mon Sep 17 00:00:00 2001 From: Garrett Finucane Date: Tue, 19 Aug 2014 00:38:28 -0400 Subject: [PATCH 2/3] removed added space and added question mark --- js/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/view.js b/js/view.js index f32b5bda8..35b88fd7c 100644 --- a/js/view.js +++ b/js/view.js @@ -132,7 +132,7 @@ function showText(text) { } } } - messages['gameover'] += "" + messages['gameover'] += "" $("#overlay").html(messages[text]); $("#overlay").fadeIn("1000", "swing"); From 5490729bad87735dec2fb16835367a89dfb7e700 Mon Sep 17 00:00:00 2001 From: Garrett Finucane Date: Tue, 19 Aug 2014 00:45:20 -0400 Subject: [PATCH 3/3] removed added space and added question mark --- index.html | 3 +++ js/main.js | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/index.html b/index.html index a65547b6a..a33317c10 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,8 @@ + Hextris diff --git a/js/main.js b/js/main.js index b3b20e092..d67279bb0 100644 --- a/js/main.js +++ b/js/main.js @@ -67,6 +67,7 @@ function hideUIElements() { function init(b) { if (b) { + mixpanel.track("Restart"); hidebottombar(); @@ -80,6 +81,10 @@ function init(b) { }, 7000); clearSaveState(); } + else{ + mixpanel.track("Game Started"); + } + $("#pauseBtnInner").html(''); hideUIElements();