forked from coolwanglu/vim.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvim.html
More file actions
72 lines (71 loc) · 2.93 KB
/
Copy pathvim.html
File metadata and controls
72 lines (71 loc) · 2.93 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
<!doctype html>
<!-- vim: set sw=2 ts=2 et : -->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Vim.js - JavaScript port of Vim</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="vim.css">
<script src="streamline.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46390065-1', 'coolwanglu.github.io');
ga('send', 'pageview');
var Module = {
noInitialRun: true,
noExitRuntime: true,
preRun: [],
postRun: [],
print: function() {
console.group.apply(console, arguments);
console.groupEnd();
},
printErr: function() {
console.group.apply(console, arguments);
console.log((new Error).stack);
console.groupEnd();
},
'vimjs-exit': function() {
document.getElementById('vimjs-container').innerHTML = '<div style="text-align:center"><br><br><br><h3>Did you enjoy Vim.js?</h3><br><br><p>You can refresh the page to start over. Why not get involved and help developing Vim.js?</p></div>';
},
};
</script>
</head>
<body>
<a href="https://github.com/coolwanglu/vim.js"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
<div id="github-star">
<iframe src="http://ghbtns.com/github-btn.html?user=coolwanglu&repo=vim.js&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
</div>
<div class="container">
<div class="jumbotron">
<h1>Vim.js</h1>
<h2>JavaScript port of Vim</h2>
<code>:e $VIM/vimrc</code>
</div>
<div id="vimjs-container" class="container">
<div style="text-align:center">
<br>
<br>
<br>
<h3>Brought to you by <em>Lu Wang</em></h3>
<br>
<br>
<h3>Loading...(~1MB to download, ~4MB uncompressed)</h3>
</div>
</div>
<br>
<br>
<div class="footer">
<p class="text-muted">Last updated: Fri Dec 13 14:08:55 UTC 2013</p>
<p>© <a target="_blank" href="http://coolwanglu.github.io/">Lu Wang</a> 2013</p>
</div>
</div>
<audio id="vimjs-beep" src="drip.ogg"></audio>
<script src="vim.js"></script>
</body>
</html>