Skip to content

Commit

Permalink
add firebase sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
ho4040 committed Oct 21, 2018
1 parent 705f63c commit a386a48
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="libs/howler/dist/howler.js"></script>
<script src="libs/pixi.js/dist/pixi.js"></script>
<script src="libs/pixi.js/dist/pixi.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.5.5/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDMG3KijFdax5-FHaOQ4hZVRBXAi8KYO-c",
authDomain: "h5games-c799c.firebaseapp.com",
databaseURL: "https://h5games-c799c.firebaseio.com",
projectId: "h5games-c799c",
storageBucket: "h5games-c799c.appspot.com",
messagingSenderId: "692524715842"
};
firebase.initializeApp(config);
</script>
</head>
<body>
<script src="main.js"></script>
Expand Down

0 comments on commit a386a48

Please sign in to comment.