Skip to content

Commit

Permalink
2.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jrburke committed Jul 21, 2024
1 parent fe8c777 commit 77ba5ec
Show file tree
Hide file tree
Showing 25 changed files with 32,664 additions and 55 deletions.
4 changes: 2 additions & 2 deletions docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -1594,7 +1594,7 @@ <h3><a href="#i18n" name="i18n">Define an I18N Bundle</a><span class="sectionMar
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/commonjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -286,7 +286,7 @@ <h2><a name="optimize">Optimization Tool</a><span class="sectionMark">&sect; 7</
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -241,7 +241,7 @@ <h2><a name="codestyle">Code Style</a><span class="sectionMark">&sect; 2</span><
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/dojo.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand All @@ -194,7 +194,7 @@ <h1>How to use RequireJS with Dojo</h1>
<div class="section"></div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
18 changes: 12 additions & 6 deletions docs/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -209,10 +209,10 @@ <h2><a name="latest">Latest Release</a><span class="sectionMark">&sect; 1</span>

<div class="subSection">
<h4 class="hbox">
<a name="requirejs">require.js 2.3.6</a>
<a name="requirejs">require.js 2.3.7</a>
<span class="boxFlex"></span>
<a class="download" href="https://requirejs.org/docs/release/2.3.6/minified/require.js">Minified</a>
<a class="download" href="https://requirejs.org/docs/release/2.3.6/comments/require.js">With Comments</a>
<a class="download" href="https://requirejs.org/docs/release/2.3.7/minified/require.js">Minified</a>
<a class="download" href="https://requirejs.org/docs/release/2.3.7/comments/require.js">With Comments</a>
</h4>

<p>All you need to start using require.js in the browser.</p>
Expand All @@ -222,7 +222,7 @@ <h4 class="hbox">
<h4 class="hbox">
<a name="rjs">r.js: Optimizer and Node/Rhino/Nashorn/xpcshell adapter</a>
<span class="boxFlex"></span>
<a class="download" href="https://requirejs.org/docs/release/2.3.6/r.js">Download</a>
<a class="download" href="https://requirejs.org/docs/release/2.3.7/r.js">Download</a>
</h4>

<p>The r.js file allows you to run the optimizer as well as run modules in Node, Rhino, Nashorn or xpcshell.</p>
Expand Down Expand Up @@ -282,6 +282,12 @@ <h4 class="hbox">
<div class="section">
<h2><a name="releasenotes">Release Notes</a><span class="sectionMark">&sect; 3</span></h2>

<h3 id="2-3-7">2.3.7</h3>

<ul>
<li><a href="hhttps://github.com/requirejs/requirejs/issues/1854">Security Vulnerability: Prototype pollution</a></li>
</ul>

<h3 id="2-3-6">2.3.6</h3>

<p>Small updates to the optimizer.</p>
Expand Down Expand Up @@ -776,7 +782,7 @@ <h3 id="1-0-1">1.0.1</h3>
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -439,7 +439,7 @@ <h2><a name="importscripts">importScripts failed for ...</a><span class="section
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/faq-advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -323,7 +323,7 @@ <h2><a name="css">What about loading CSS?</a><span class="sectionMark">&sect; 2<
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/faq-optimization.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -240,7 +240,7 @@ <h2><a name="namespace">How can I namespace my code to play well in other people
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand All @@ -194,7 +194,7 @@ <h1>RequireJS FAQs (Frequently Asked Questions)</h1>
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -214,7 +214,7 @@ <h1>RequireJS History</h1>
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
38 changes: 26 additions & 12 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@
<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">
<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="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<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="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.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");
Expand All @@ -35,6 +38,14 @@
<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="./"></a>
<h1>a javascript module loader</h1>
Expand Down Expand Up @@ -136,25 +147,25 @@ <h1>a javascript module loader</h1>

<ul>
<li class="hbox">
<a href="http://groups.google.com/group/requirejs">Get Help</a>
<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="http://tagneto.blogspot.com">Blog</a>
<a href="https://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>
<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="http://github.com/jrburke/requirejs">GitHub</a>
<a href="https://github.com/requirejs/requirejs">GitHub</a>
<span class="spacer boxFlex"></span>
<span class="icon git"></span>
</li>
Expand All @@ -165,12 +176,15 @@ <h1>a javascript module loader</h1>
</li>
</ul>


<ul>
<li class="version">1.0.6 Docs</li>
<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">
<div id="content">
<div id="intro" class="mono">
<p>/* ---</p>

<p>RequireJS is a JavaScript file and module loader. It is optimized for
Expand All @@ -193,9 +207,9 @@ <h1>a javascript module loader</h1>
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="http://requirejs.org/docs/download.html">1.0.6</a></span>
<span class="line">Open source: <a href="https://github.com/jrburke/requirejs/blob/master/LICENSE">new BSD or MIT licensed</a></span>
<span class="line">web design by <a href="http://andychung.ca">Andy Chung</a> &copy; 2011</span>
<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">&copy; 2010-2018</a></span>
</div>
</div>

Expand Down
9 changes: 8 additions & 1 deletion docs/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ $(document).ready(function($) {
$(window).bind("load resize", function(){
var w = $(window).height();
var h = $("#nav").outerHeight();
$("#nav").css("position",(w < h) ? ("relative") : ("fixed"));
$("#nav").css("position",(w < h) ? "" : "fixed");
});

// open / close off-canvas navigation
$('.off-canvas-button').click(function() {
// transform button to close shape
$(this).toggleClass('open');
// slide in side navigation
$('#nav').toggleClass('open');
});
// done!
});
4 changes: 2 additions & 2 deletions docs/jquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -361,7 +361,7 @@ <h2>
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/node.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.3.6 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<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>
Expand Down Expand Up @@ -378,7 +378,7 @@ <h3 id="feedback">Feedback</h3>
</div>
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="https://requirejs.org/docs/download.html">2.3.6</a></span>
<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">&copy; 2010-2018</a></span>
</div>
Expand Down
Loading

0 comments on commit 77ba5ec

Please sign in to comment.