web-apps/vendor/requirejs/dist/pre.html

185 lines
6.9 KiB
HTML
Raw Normal View History

2016-03-11 00:48:53 +00:00
<!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="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojox/highlight/resources/highlight.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="init.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js"></script>
<script type="text/javascript">
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('&lt;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">&nbsp;</span>
<span class="line">&nbsp;</span>
<span class="line">&nbsp;</span>
</span>
<span class="cross">&times;</span>
</button>
<div id="nav" class="mono">
<a class="homeImageLink" href="HOMEPATH"></a>
<h1>a javascript module loader</h1>
<ul>
<li class="hbox">
<a href="HOMEPATH">Home</a>
<span class="spacer boxFlex"></span>
<span class="icon home"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a class="local" href="start.html">Start</a>
<span class="spacer boxFlex"></span>
<span class="icon start"></span>
</li>
<li class="hbox">
<a class="local" href="download.html">Download</a>
<span class="spacer boxFlex"></span>
<span class="icon download"></span>
</li>
<li class="hbox">
<a class="local" href="api.html">API</a>
<span class="spacer boxFlex"></span>
<span class="icon api"></span>
</li>
<li class="hbox">
<a class="local" href="optimization.html">Optimization</a>
<span class="spacer boxFlex"></span>
<span class="icon optimize"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a class="local" href="jquery.html">Use with jQuery</a>
<span class="spacer boxFlex"></span>
<span class="icon script"></span>
</li>
<li class="hbox">
<a class="local" href="node.html">Use with Node</a>
<span class="spacer boxFlex"></span>
<span class="icon script"></span>
</li>
<li class="hbox">
<a class="local" href="dojo.html">Use with Dojo</a>
<span class="spacer boxFlex"></span>
<span class="icon script"></span>
</li>
<li class="hbox">
<a class="local" href="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="faq.html">FAQs</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="errors.html">Common Errors</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="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="why.html">Why Web Modules</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="whyamd.html">Why AMD</a>
<span class="spacer boxFlex"></span>
<span class="icon question"></span>
</li>
<li class="hbox">
<a class="local" href="requirements.html">Requirements</a>
<span class="spacer boxFlex"></span>
<span class="icon requirement"></span>
</li>
<li class="hbox">
<a class="local" href="history.html">History</a>
<span class="spacer boxFlex"></span>
<span class="icon history"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a href="http://groups.google.com/group/requirejs">Get Help</a>
<span class="spacer boxFlex"></span>
<span class="icon help"></span>
</li>
<li class="hbox">
<a href="http://jrburke.com/">Blog</a>
<span class="spacer boxFlex"></span>
<span class="icon blog"></span>
</li>
<li class="hbox">
<a href="http://twitter.com/jrburke">Twitter</a>
<span class="spacer boxFlex"></span>
<span class="icon twitter"></span>
</li>
</ul>
<ul>
<li class="hbox">
<a href="http://github.com/jrburke/requirejs">GitHub</a>
<span class="spacer boxFlex"></span>
<span class="icon git"></span>
</li>
<li class="hbox">
<a class="local" href="contributing.html">Contributing</a>
<span class="spacer boxFlex"></span>
<span class="icon fork"></span>
</li>
</ul>
<ul>
<li class="version">2.1.10 Docs (<a href="https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<li class="version"><a class="local" href="1.0/">1.0 Doc Link</a></li>
</ul>
</div>
<div id="content">