1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-25 03:34:05 +00:00

async google analytics

This commit is contained in:
Steven Hugg 2017-12-25 10:44:46 -06:00
parent bafc23cb5b
commit cb113b370b
2 changed files with 8 additions and 11 deletions

View File

@ -24,6 +24,12 @@ body {
} }
</style> </style>
<link rel="stylesheet" href="css/ui.css"> <link rel="stylesheet" href="css/ui.css">
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-54497476-9', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head> </head>
<body> <body>
@ -211,13 +217,4 @@ body {
</script> </script>
</body> </body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54497476-9', 'auto');
ga('send', 'pageview');
</script>
</html> </html>

View File

@ -466,10 +466,10 @@ function pixelEditorKeypress(e) {
case 34: // PgDn case 34: // PgDn
currentPixelEditor.rotate(90); currentPixelEditor.rotate(90);
break; break;
case 35: // PgUp case 35: // Home
currentPixelEditor.rotate(-45); currentPixelEditor.rotate(-45);
break; break;
case 36: // PgDn case 36: // End
currentPixelEditor.rotate(45); currentPixelEditor.rotate(45);
break; break;
default: default: