Skip to content

Commit

Permalink
removed added space and added question mark
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettdreyfus committed Aug 19, 2014
1 parent c80bbe0 commit 5490729
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!DOCTYPE html>
<html lang='en'>
<!-- start Mixpanel --><script type="text/javascript">(function(f,b){if(!b.__SV){var a,e,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=f.createElement("script");a.type="text/javascript";a.async=!0;a.src="//cdn.mxpnl.com/libs/mixpanel-2.2.min.js";e=f.getElementsByTagName("script")[0];e.parentNode.insertBefore(a,e)}})(document,window.mixpanel||[]);
mixpanel.init("883204b8a40c5693d608bcf489405ecc");</script><!-- end Mixpanel -->
<head>
<title>Hextris</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
Expand Down
5 changes: 5 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function hideUIElements() {

function init(b) {
if (b) {
mixpanel.track("Restart");
hidebottombar();


Expand All @@ -80,6 +81,10 @@ function init(b) {
}, 7000);
clearSaveState();
}
else{
mixpanel.track("Game Started");
}


$("#pauseBtnInner").html('<i class="fa fa-pause fa-2x"></i>');
hideUIElements();
Expand Down

0 comments on commit 5490729

Please sign in to comment.