-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
217 lines (197 loc) · 8.34 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html>
<head>
<title>RequireJS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" type="text/css" href="main.css">
<link rel="icon" type="image/x-icon" href="/favicon.png">
<!--[if IE]> <link rel="stylesheet" type="text/css" href="ie.css" /> <![endif]-->
<link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/dojo/1.4/dojox/highlight/resources/highlight.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="init.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js"></script>
<script type="text/javascript">
dojo.registerModulePath("dojo", "https://ajax.googleapis.com/ajax/libs/dojo/1.4.4/dojo");
dojo.registerModulePath("dojox", "https://ajax.googleapis.com/ajax/libs/dojo/1.4.4/dojox");
dojo.require("dojox.highlight");
dojo.require("dojox.highlight.languages.javascript");
dojo.require("dojox.highlight.languages.html");
dojo.ready(function() {
dojo.query("pre > code")
.forEach(function(node) {
if (node.innerHTML.indexOf("DOCTYPE") !== -1 || node.innerHTML.indexOf('<script') !== -1) {
dojo.addClass(node, "html");
} else {
dojo.addClass(node, "javascript");
}
})
.forEach(dojox.highlight.init);
});
</script>
</head>
<body>
<div id="grid"></div>
<div id="wrapper">
<div id="navBg"></div>
<button type="button" role="button" aria-label="Toggle Navigation" class="off-canvas-button">
<span class="lines">
<span class="line"> </span>
<span class="line"> </span>
<span class="line"> </span>
</span>
<span class="cross">×</span>
</button>
<div id="nav" class="mono">
<a class="homeImageLink" href="./"></a>
<h1>a javascript module loader</h1>
<ul>
<li class="hbox">
<a href="./">Home</a>
<span class="spacer boxFlex"></span>
<span class="icon home"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a class="local" href="docs/start.html">Start</a>
<span class="spacer boxFlex"></span>
<span class="icon start"></span>
</li>
<li class="hbox">
<a class="local" href="docs/download.html">Download</a>
<span class="spacer boxFlex"></span>
<span class="icon download"></span>
</li>
<li class="hbox">
<a class="local" href="docs/api.html">API</a>
<span class="spacer boxFlex"></span>
<span class="icon api"></span>
</li>
<li class="hbox">
<a class="local" href="docs/optimization.html">Optimization</a>
<span class="spacer boxFlex"></span>
<span class="icon optimize"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a class="local" href="docs/jquery.html">Use with jQuery</a>
<span class="spacer boxFlex"></span>
<span class="icon script"></span>
</li>
<li class="hbox">
<a class="local" href="docs/node.html">Use with Node</a>
<span class="spacer boxFlex"></span>
<span class="icon script"></span>
</li>
<li class="hbox">
<a class="local" href="docs/dojo.html">Use with Dojo</a>
<span class="spacer boxFlex"></span>
<span class="icon script"></span>
</li>
<li class="hbox">
<a class="local" href="docs/commonjs.html">CommonJS Notes</a>
<span class="spacer boxFlex"></span>
<span class="icon script"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a class="local" href="docs/faq.html">FAQs</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="docs/errors.html">Common Errors</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="docs/plugins.html">Writing Plugins</a>
<span class="spacer boxFlex"></span>
<span class="icon api"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a class="local" href="docs/why.html">Why Web Modules</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="docs/whyamd.html">Why AMD</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="docs/requirements.html">Requirements</a>
<span class="spacer boxFlex"></span>
<span class="icon requirement"></span>
</li>
<li class="hbox">
<a class="local" href="docs/history.html">History</a>
<span class="spacer boxFlex"></span>
<span class="icon history"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a href="https://stackoverflow.com/questions/tagged/requirejs">Get Help</a>
<span class="spacer boxFlex"></span>
<span class="icon help"></span>
</li>
<li class="hbox">
<a href="https://jrburke.com/">Blog</a>
<span class="spacer boxFlex"></span>
<span class="icon blog"></span>
</li>
<li class="hbox">
<a href="https://twitter.com/jrburke">Twitter</a>
<span class="spacer boxFlex"></span>
<span class="icon twitter"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a href="https://github.com/requirejs/requirejs">GitHub</a>
<span class="spacer boxFlex"></span>
<span class="icon git"></span>
</li>
<li class="hbox">
<a class="local" href="docs/contributing.html">Contributing</a>
<span class="spacer boxFlex"></span>
<span class="icon fork"></span>
</li>
</ul>
<ul>
<li class="version">2.3.7 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
</ul>
</div>
<div id="content">
<div id="intro" class="mono">
<p>/* ---</p>
<p>RequireJS is a JavaScript file and module loader. It is optimized for
in-browser use, but it can be used in other JavaScript environments,
like Rhino and <a href="docs/node.html">Node</a>. Using
a modular script loader like RequireJS will improve the speed and
quality of your code.</p>
<p>
IE 6+ .......... compatible ✔<br>
Firefox 2+ ..... compatible ✔<br>
Safari 3.2+ .... compatible ✔<br>
Chrome 3+ ...... compatible ✔<br>
Opera 10+ ...... compatible ✔
</p>
<p><a href="docs/start.html">Get started</a> then check out the <a href="docs/api.html">API</a>.</p>
<p>--- */</p>
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.7</a></span>
<span class="line">Code is open source: <a href="https://github.com/requirejs/requirejs/blob/master/LICENSE">new BSD or MIT licensed</a></span>
<span class="line">logo and web design by <a href="http://andychung.me/">Andy Chung</a> <a href="https://github.com/requirejs/requirejs-branding">© 2010-2018</a></span>
</div>
</div>
</body>
</html>