forked from webcomponents/webcomponents.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (70 loc) · 2.63 KB
/
Copy pathindex.html
File metadata and controls
81 lines (70 loc) · 2.63 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html lang="en-us">
<head>
<title>webcomponents.org - Discuss & share web components</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<link rel="manifest" href="/manifest.json">
<link rel="import" href="/src/catalog-app.html" async>
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/assets/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/assets/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#ffffff">
<meta property="og:image" content="https://www.webcomponents.org/assets/logo-192x192.png">
<link type="application/opensearchdescription+xml" rel="search" href="/opensearch.xml">
<meta name="google-site-verification" content="oVdZwn0zlaa7Hrzqe1f5RyfQXkrRysxlSSiZlsZBL-U" />
<meta name="msvalidate.01" content="0A9366EA06C4814960D0F0828F0E8361" />
<style>
body {
margin: 0;
font-size: 14px;
line-height: 1.5;
min-height: 100vh;
}
catalog-app[unresolved] {
opacity: 0;
}
@media (max-width: 500px), (max-height: 500px) {
body {
max-height: 100vh;
overflow: auto;
}
}
.gitter-chat-embed {
border-left: none;
}
</style>
</head>
<body>
<catalog-app unresolved></catalog-app>
<script>
(function() {
if (window.Polymer) {
console.error('Polymer already initialized!');
return;
}
window.performance && performance.mark && performance.mark('index.html');
Polymer = {lazyRegister: true, useNativeCSSProperties: true};
if ('registerElement' in document
&& 'import' in document.createElement('link')
&& 'content' in document.createElement('template')) {
// platform is good!
} else {
// mini-fill <link rel=prefetch>
// (only needed for Safari, but relatively harmless and not detectable)
var l$ = document.querySelectorAll('link[rel=prefetch]');
for (var i=0, r; i < l$.length; i++) {
r = new XMLHttpRequest();
r.open('GET', l$[i].href);
r.send();
}
// polyfill the platform!
var e = document.createElement('script');
e.src = '/bower_components/webcomponentsjs/webcomponents-lite.min.js';
document.body.appendChild(e);
}
})();
</script>
</body>
</html>