-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
69 lines (57 loc) · 1.94 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html>
<head>
<title>hasteIPFS</title>
<link rel="stylesheet" type="text/css" href="solarized-dark.css"/>
<link rel="stylesheet" type="text/css" href="application.css"/>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="highlight.pack.js"></script>
<script type="text/javascript" src="application.js"></script>
<meta name="robots" content="noindex,nofollow"/>
<meta name="microtip" content="1FJ14QszCYeEJ1pehuq9e8ANZ9SK1826VW" data-currency="btc">
<script type="text/javascript">
var app = null;
// Handle pops
var handlePop = function(evt) {
var path = evt.target.location.hash;
if (!path || path === '') { app.loadAbout(); }
else { app.loadDocument(path.substring(1)); }
};
// Set up the pop state to handle loads, skipping the first load
// to make chrome behave like others:
// http://code.google.com/p/chromium/issues/detail?id=63040
setTimeout(function() {
window.onpopstate = function(evt) {
try { handlePop(evt); } catch(err) { /* not loaded yet */ }
};
}, 1000);
// Construct app and load initial path
$(function() {
app = new haste('hasteIPFS', { twitter: true });
handlePop({ target: window });
});
</script>
</head>
<body>
<ul id="messages"></ul>
<div id="key">
<div id="pointer" style="display:none;"></div>
<div id="box1">
<a href="#" class="logo"></a>
</div>
<div id="box2">
<div class="save function"></div>
<div class="new function"></div>
<div class="duplicate function"></div>
<div class="raw function"></div>
<div class="twitter function"></div>
</div>
<div id="box3" style="display:none;">
<div class="label"></div>
<div class="shortcut"></div>
</div>
</div>
<div id="linenos"></div>
<pre id="box" style="display:none;" tabindex="0" class="hljs"><code></code></pre>
<textarea spellcheck="false" style="display:none;"></textarea>
</body>
</html>