1 |
|
2 | <html>
|
3 | <head>
|
4 | <!--
|
5 | 1. https://blog.whatwg.org/the-road-to-html-5-character-encoding
|
6 | 2. Options:
|
7 | resize enabled: width=device-width,initial-scale=1
|
8 | resize denied: width=device-width,initial-scale=1,maximum-scale=1
|
9 | 3. Since Chrome 31.
|
10 | Chrome temporarily accepts the usage of "apple-mobile-web-app-capable"
|
11 | Meta tag apple-touch-fullscreen behave the same way as apple-mobile-web-app-capable.
|
12 | Only the last one is mentioned in Safari documentation, so I would stick with it.
|
13 | It looks to me as if apple-touch-fullscreen was used in early demos/previews,
|
14 | so it was left working later when the SDK got actually released,
|
15 | but the preferred version is the one documented.
|
16 | 4. Since Chrome 39 you can use Web App Manifest.
|
17 | http://www.w3.org/TR/appmanifest/
|
18 | If there's a manifest with display specified,
|
19 | "mobile-web-app-capable" is ignored.
|
20 | -->
|
21 |
|
22 | <meta charset="UTF-8"> <!-- 1 -->
|
23 | <meta name="viewport" content="initial-scale=1,maximum-scale=1"> <!-- 2 -->
|
24 | <meta name="mobile-web-app-capable" content="yes"> <!-- 3 -->
|
25 | <!-- <link rel="manifest" href="manifest.json"> 4 -->
|
26 |
|
27 | <!--
|
28 | <meta name="apple-mobile-web-app-capable" content="yes">
|
29 | <meta name="apple-mobile-web-app-status-bar-style" content="black">
|
30 | <link rel="apple-touch-startup-image" href="/startup.png">
|
31 | -->
|
32 |
|
33 | <!--
|
34 | OpenSearch autodiscovery: http://www.opensearch.org/Specifications/OpenSearch/1.1
|
35 | <link rel="search" type="application/opensearchdescription+xml"
|
36 | href="http://example.com/content-search.xml" title="Content search">
|
37 | -->
|
38 |
|
39 | <!--
|
40 | Turn off telephone number detection in Safari on iOS,
|
41 | you can still use the "tel" URI scheme.
|
42 | <meta name="format-detection" content="telephone=no">
|
43 | -->
|
44 |
|
45 | <!--
|
46 | Remove tap highlight in IE10 and IE11 on Windows Phone.
|
47 | <meta name="msapplication-tap-highlight" content="no">
|
48 | -->
|
49 |
|
50 | <!--
|
51 | Chrome, Firefox OS and Opera
|
52 | <meta name="theme-color" content="#4285f4">
|
53 | -->
|
54 |
|
55 | <!--
|
56 | <meta http-equiv="x-dns-prefetch-control" content="off">
|
57 |
|
58 | To be sure you're using the latest rendering mode for IE.
|
59 | The best practice is an X-UA-Compatible HTTP Header.
|
60 | <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
61 |
|
62 | Meta-tags that attempt to apply the X-Frame-Options directive DO NOT WORK.
|
63 | You must apply the X-Frame-Options directive as HTTP Response Header.
|
64 |
|
65 | X-Frame-Options: deny
|
66 | Content-Security-Policy: script-src 'self'; frame-src 'none'
|
67 | Strict-Transport-Security: max-age=778000
|
68 | -->
|
69 |
|
70 | <!--
|
71 | Fallback application metadata for legacy browsers
|
72 | -->
|
73 | <meta name="application-name" content="App">
|
74 | <meta name="msapplication-tooltip" content="App">
|
75 |
|
76 | <title>App</title>
|
77 | <!--
|
78 | <base href="/litejs/litejs/ui/">
|
79 | -->
|
80 |
|
81 | <!--
|
82 | Place icons in the root of your domain
|
83 | and these references are not needed.
|
84 |
|
85 | <link rel="shortcut icon" href="favicon.ico">
|
86 | <link rel="apple-touch-icon" href="apple-touch-icon.png">
|
87 | -->
|
88 | <link rel="stylesheet" href="app.css" drop="ie7 ie8" min="../test/min/0.css">
|
89 | <link rel="stylesheet" title="Default look" href="css/theme/blue.css">
|
90 | <link rel="alternate stylesheet" title="New look" href="css/theme/new.css">
|
91 | </head>
|
92 | <body>
|
93 | <!--
|
94 | Include scripts in the end of the body,
|
95 | so there is no need for waiting DOMContentLoaded
|
96 | -->
|
97 | <script src="load.js" inline></script>
|
98 | <script src="../test/min/up.js" min="../test/min/0.js?{hash}"
|
99 | banner="litejs.com/MIT-LICENSE.txt"
|
100 | if="!Object.assign"
|
101 | require="
|
102 | litejs/ui/polyfill/es5
|
103 | "></script>
|
104 | <script src="index.js" min="../test/min/1.js?h={hash}"
|
105 | banner="litejs.com/MIT-LICENSE.txt"
|
106 | drop="debug"
|
107 | require="
|
108 | "></script>
|
109 | <script src="../date/index.js" min></script>
|
110 | <script src="../lib/json.js" min></script>
|
111 | <script src="../lib/timing.js" min></script>
|
112 | <script src="../lib/fn.js" min></script>
|
113 | <script src="../lib/events.js" min></script>
|
114 | <script src="src/history.js" min></script>
|
115 | <script src="src/view.js" min></script>
|
116 | <script src="src/el.js" min></script>
|
117 | <script src="binding/_default.js" min></script>
|
118 | <script src="binding/list.js" min></script>
|
119 | <script src="js/debug.js" exclude></script>
|
120 | <script src="js/touch.js" min="../test/min/2.js?{hash}"></script>
|
121 | <script src="js/drag.js" min></script>
|
122 | <script src="js/xhr-getschema.js" min></script>
|
123 | <script src="js/json-schema-to-form.js" min></script>
|
124 | <script src="js/schema-apply.js" min></script>
|
125 | <script src="js/hello.js" min></script>
|
126 | <script src="component/form1.tpl" type="litejs/view"></script>
|
127 | <script src="component/confirm.tpl" type="litejs/view"></script>
|
128 | <script src="component/Segment7.tpl" type="litejs/view"></script>
|
129 | <script src="view/main.view" type="litejs/view"></script>
|
130 | <script src="../model/index.js" min="../test/min/3.js?{hash}"></script>
|
131 | <script src="js/data.js" min></script>
|
132 | <script src="js/stat.js" min></script>
|
133 | <script src="js/app.js" min></script>
|
134 | <script src="//www.litejs.com/pub/testman.js" exclude></script>
|
135 | <script src="../test/min/object-utils.js" exclude></script>
|
136 | <script src="js/test.js" exclude></script>
|
137 | <noscript>
|
138 | <h1>Error</h1>This application requires JavaScript
|
139 | <!--
|
140 | Redirect to no-JavaScript version of the site
|
141 | or provide a link to give a chance to turn JavaScript on before redirect.
|
142 | <meta http-equiv="refresh" content="0;url=no-js.html">
|
143 | -->
|
144 | </noscript>
|
145 | </body>
|
146 | </html>
|
147 |
|