-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (43 loc) · 2.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
+<!DOCTYPE html>
+<html>
+<!--
+ * Please see the included README.md file for license terms and conditions.
+ -->
+<head>
+ <title>Blank HTML</title>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+
+ <!-- This is a blank template, include any desired javascript frameworks, libraries, CSS here and start developing the app -->
+
+ <!-- IMPORTANT: Do not include your weinre script tag as part of your release builds! -->
+ <!-- Place your remote debugging (weinre) script URL from the Test tab here, if it does not work below -->
+ <!-- <script src="http://debug-software.intel.com/target/target-script-min.js#insertabiglongfunkynumberfromthexdkstesttab"></script> -->
+
+ <script src="intelxdk.js"></script> <!-- phantom library, needed for Intel XDK api calls -->
+
+ <script src="xhr.js"></script> <!-- phantom library, needed for Intel XDK CORS -->
+
+ <script src='https://cdn.firebase.com/js/client/2.0.4/firebase.js'></script>
+ <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'></script>
+
+ <script>
+ function onDeviceReady() {
+ if( navigator.splashscreen && navigator.splashscreen.hide ) { // Cordova API detected
+ navigator.splashscreen.hide() ;
+ }
+ if( window.intel && intel.xdk && intel.xdk.device ) { // Intel XDK device API detected, but...
+ if( intel.xdk.device.hideSplashScreen ) // ...hideSplashScreen() is inside the base plugin
+ intel.xdk.device.hideSplashScreen() ;
+ }
+ }
+ document.addEventListener("deviceready", onDeviceReady, false) ;
+ </script>
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
+ <link rel = "stylesheet" href = "main.css">
+</head>
+<body>
+ <div id = "chat" onclick = "window.location = 'chat.html'"> To the Chat Room! </div>
+</body>
+</html>