-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (48 loc) · 2.36 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
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en_US" class="no-js no-app">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Web Component Sandbox</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="width">
<meta name="format-detection" content="telephone=no">
<link href="/webcomponents-sandbox/assets/styles/main.css" rel="stylesheet"/>
<link rel="shortcut icon" href="/favicon.ico">
<script src="/webcomponents-sandbox/assets/scripts/vendor/platform.js"></script>
<link href="/webcomponents-sandbox/imports/vendor/polymer/polymer.html" rel="import"/>
</head>
<body id="mainTemplate">
<div id="wrapper">
<header id="header"><h1 id="web-components">Web Components</h1>
<h2 id="-moving-the-web-forward-">...moving the Web forward.</h2>
<h3><a href="/webcomponents-sandbox/overview.html">Overview</a>
</h3>
</header><a href="https://github.com/simshanith/webcomponents-sandbox/" class="github-ribbon"><img alt="Fork me on GitHub" src="https://github-camo.global.ssl.fastly.net/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
<section id="mainContent">
<div id="tumblr-container"></div>
<link href="/webcomponents-sandbox/imports/collections.html" rel="import"/>
<link id="tumblr-data" href="/webcomponents-sandbox/imports/tumblr-data.html" rel="import"/>
<script>
function kickItOff() {
var importee = document.querySelector("#tumblr-data").import;
var jsonp = importee.querySelector("#tumblr-data");
jsonp.addEventListener("polymer-response",
function (e) {
var posts = e.detail.response.posts;
console.log(posts);
window.images.add(posts);
}
);
jsonp.go();
}
window.addEventListener('polymer-ready', kickItOff);
</script>
</section>
<footer id="footer"><p>(c) 2014 Shane Daniel</p>
</footer>
</div>
</body>
</html>