﻿<!DOCTYPE html>
<html lang="en-US" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<title>Phaser Examples - Test</title>
<style>
body { background: #333; margin: 0; padding: 0; }
#game-canvas { margin: 0 auto; }
</style>
</head>
<body>
<a href="javascript:;" class="tweet-btn">Tweet it!</a>
<div id="game-canvas"></div>

<script type="text/javascript" src="../../bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript">window.jQuery || document.write('<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"><\/script>')</script>
<script type="text/javascript" src="../../bower_components/phaser/build/phaser.min.js"></script>
<script type="text/javascript">window.Phaser || document.write('<script src="https://cdnjs.cloudflare.com/ajax/libs/phaser/2.4.4/phaser.min.js"><\/script>')</script>
<script type="text/javascript" src="../../plugins/phaser-debug.min.js"></script>
<script type="text/javascript" src="../../plugins/phlog.js"></script>
<script type="text/javascript" src="../../plugins/phshare.js"></script>
<script type="text/javascript" src="js/game.js"></script>
<script>
jQuery(document).ready(function($) {
  $('.tweet-btn').on('click', function() {
    var share = PHShare.getInstance();
    share.tweet();
  });
});
</script>
</body>
</html>
