-
Notifications
You must be signed in to change notification settings - Fork 80
/
index.html
126 lines (113 loc) · 6.1 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>RequireBin</title>
<meta charset="utf-8">
<link rel='shortcut icon' href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="flatui/css/flat-ui.css">
<link rel="stylesheet" type="text/css" href="css/codemirror.css"/>
<link rel="stylesheet" type="text/css" href="css/theme.css"/>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.0.0/magnific-popup.min.css"/>
</head>
<body>
<a href="/"><img class="logo" src="img/logo-black.png"></a>
<p class="tagline"> Powered by <a href="http://npmjs.org" target="_blank"><span class="npm"></span></a> and <a href="http://browserify.org" target="_blank"><span class="browserify"></span></a></p>
<select class="actionsMenu" value="Actions" tabindex="1">
<option value="noop" selected="selected">Actions</option>
<option value="save">Save Gist</option>
<option value="save-private">Save Private Gist</option>
<option value="show-forks">Show Forks</option>
<option value="howto">See instructions</option>
<option value="share">Share/Embed</option>
<option value="github">View Source On GitHub</option>
</select>
<div class="actionsButtons">
<a title="COMMAND+ENTER or CTRL+ENTER" data-action="play" class="play-button hidden btn btn-block btn-lg btn-primary">
<i class="fui-eye-16"></i>Run Code
</a>
</div>
<!--file selector-->
<div class="editor-picker hidden btn-group">
<a class="btn btn-lg btn-primary" data-editor="bundle">
code
</a>
<a class="btn btn-lg" data-editor="head">
<head>
</a>
<a class="btn btn-lg" data-editor="body">
<body>
</a>
<a class="btn btn-lg" data-editor="meta">
package.json
</a>
</div>
<div id="play" class="right">
<div id="share" class="hidden">
<p id="shareDisabled">You have to save your project before you can embed it.</p>
<div id="shareInstructions" class="hidden">
<p>HTML Embed code:</p>
<textarea id="shareTextarea"></textarea>
<p>HTML Embed example:</p>
<p><a href="/embed?gist=6264704" target="_blank">requirebin.com/embed?gist=6264704</a></p>
<p>Share Badge Markdown code:</p>
<textarea id="shareBadgeTextarea"></textarea>
<p>Markdown Share Badge image code:</p>
<textarea id="markdownShareBadgeTextarea"></textarea>
<p>Share Badge example:</p>
<a class="requirebin-link" target="_blank"><div class="requirebin-badge"></div></a>
</div>
</div>
<div id="howto" class="hidden">
<p>Node.js style modular code gets transformed into code that can run client-side using <a href="http://browserify.org/" target="_blank">browserify</a> via <a target="_blank" href="http://wzrd.in.nyud.net/" target="_blank">browserify-cdn</a>.</p>
<p>Want to see an example? <a target="_blank" href="/?gist=juliangruber/6264704">requirebin.com/?gist=juliangruber/6264704</a></p>
<p>They are also embeddable <a target="_blank" href="/embed?gist=juliangruber/6264704">requirebin.com/embed?gist=juliangruber/6264704</a></p>
<p>Here are <a href="https://gist.github.com/maxogden/9425694">a bunch more examples to play with</a>.</p>
<p>Need HTML or CSS? Check out <a target="_blank" href="http://requirebin.com/?gist=maxogden/9842648">insert-css and domify</a>.</p>
<p>The <span class="view-icon"></span> buttons run the code from the current bin.</p>
<div class="col-xs-3"><a class="run-btn btn btn-block btn-lg btn-primary"><i class="fui-eye-16"></i> Run Code</a></div>
<div class="attribution">
<p>View the source or report bugs <a href="https://github.com/maxogden/requirebin" target="_blank">on Github</a>.</p>
<p><strong>Need Help?</strong> Send a question via tweet to <a href="http://twitter.com/maxogden" target="_blank">@maxogden</a></p>
<p><a href="http://thenounproject.com/noun/recycle-bin/#icon-No12230" target="_blank">Recycle Bin</a> icon designed by <a href="http://thenounproject.com/jjaysonn" target="_blank">jayson lim</a></p>
<p><a href="#" class="hide-howto">hide these instructions</a></p>
</div>
</div>
<div class="packagejson hidden">
<h6>Modules In Use</h6>
<div id="tagsinput" class="tagsinput">
<div class="tagsinput-add">No Modules Required Yet</div>
</div>
</div>
</div>
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
<!-- editors -->
<div id="edit-meta" class="require-bin-editor left hidden"></div>
<div id="edit-head" class="require-bin-editor left hidden"></div>
<div id="edit-body" class="require-bin-editor left hidden"></div>
<div id="edit-bundle" class="require-bin-editor left"></div>
<script id="bundle-template" type="text/template">// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
</script>
<script type="text/javascript" src="flatui-deps.js"></script>
<script type="text/javascript" src="uglifyjs2-browser.js"></script>
<script type="text/javascript" src="bundle.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.0.0/jquery.magnific-popup.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-42274004-1', 'requirebin.com');
ga('send', 'pageview');
</script>
</body>
</html>