index.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Cocos Creator | RescueTheCar</title>
  6. <!--http://www.html5rocks.com/en/mobile/mobifying/-->
  7. <meta name="viewport"
  8. content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/>
  9. <!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  12. <meta name="format-detection" content="telephone=no">
  13. <!-- force webkit on 360 -->
  14. <meta name="renderer" content="webkit"/>
  15. <meta name="force-rendering" content="webkit"/>
  16. <!-- force edge on IE -->
  17. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  18. <meta name="msapplication-tap-highlight" content="no">
  19. <!-- force full screen on some browser -->
  20. <meta name="full-screen" content="yes"/>
  21. <meta name="x5-fullscreen" content="true"/>
  22. <meta name="360-fullscreen" content="true"/>
  23. <!--fix fireball/issues/3568 -->
  24. <!--<meta name="browsermode" content="application">-->
  25. <meta name="x5-page-mode" content="app">
  26. <!--<link rel="apple-touch-icon" href=".png" />-->
  27. <!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
  28. <link rel="stylesheet" type="text/css" href="style.css"/>
  29. </head>
  30. <body>
  31. <div id="GameDiv" cc_exact_fit_screen="true">
  32. <div id="Cocos3dGameContainer">
  33. <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="99"></canvas>
  34. </div>
  35. </div>
  36. <!-- Import fbinstant -->
  37. <!-- <script src="https://connect.facebook.net/en_US/fbinstant.6.3.js"></script> -->
  38. <script src="https://www.facebook.com/assets.php/en_US/fbinstant.latest.js"></script>
  39. <!-- Polyfills bundle. -->
  40. <script src="src/polyfills.bundle.js" charset="utf-8"> </script>
  41. <!-- SystemJS support. -->
  42. <script src="src/system.bundle.js" charset="utf-8"> </script>
  43. <!-- Import map -->
  44. <script src="src/import-map.json" type="systemjs-importmap" charset="utf-8"> </script>
  45. <script>
  46. System.import('./index.js').catch(function(err) { console.error(err); })
  47. </script>
  48. </body>
  49. </html>