Skip to content

Commit

Permalink
Release 2.1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
jrburke committed Nov 18, 2015
1 parent d863f9c commit b056cd7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/post.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
</div>
<div id="footer" class="mono">
<span class="line">Latest Release: <a href="http://requirejs.org/docs/download.html">2.1.20</a></span>
<span class="line">Latest Release: <a href="http://requirejs.org/docs/download.html">2.1.21</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.me/">Andy Chung</a> &copy; 2011-2015</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dist/pre.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ <h1>a javascript module loader</h1>


<ul>
<li class="version">2.1.20 Docs (<a href="https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
<li class="version">2.1.21 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>

Expand Down
19 changes: 15 additions & 4 deletions docs/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,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.1.20</a>
<a name="requirejs">require.js 2.1.21</a>
<span class="boxFlex"></span>
<a class="download" href="http://requirejs.org/docs/release/2.1.20/minified/require.js">Minified</a>
<a class="download" href="http://requirejs.org/docs/release/2.1.20/comments/require.js">With Comments</a>
<a class="download" href="http://requirejs.org/docs/release/2.1.21/minified/require.js">Minified</a>
<a class="download" href="http://requirejs.org/docs/release/2.1.21/comments/require.js">With Comments</a>
</h4>

<p>All you need to start using require.js in the browser.</p>
Expand All @@ -38,7 +38,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="http://requirejs.org/docs/release/2.1.20/r.js">Download</a>
<a class="download" href="http://requirejs.org/docs/release/2.1.21/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 @@ -98,6 +98,17 @@ <h4 class="hbox">
<div class="section">
<h2><a name="releasenotes">Release Notes</a><span class="sectionMark">&sect; 3</span></h2>

<h3 id="2-1-21">2.1.21</h3>

<p>Main changes in the optimizer are updates to the Esprima and UglifyJS dependencies. For the require.js runtime loader, fixing a couple of error conditions.</p>

<p>Full list of changes:</p>

<ul>
<li><a href="https://github.com/jrburke/requirejs/issues?q=milestone%3A2.1.21+is%3Aclosed">Fixed requirejs issue</a></li>
<li><a href="https://github.com/jrburke/r.js/issues?q=milestone%3A2.1.21+is%3Aclosed">Fixed r.js issues</a></li>
</ul>

<h3 id="2-1-20">2.1.20</h3>

<p>The main fixes: a fix in require.js to allow out of <a href="https://github.com/jrburke/requirejs/issues/1389">order define calls in a built file</a>, and an optimizer fix to <a href="https://github.com/jrburke/r.js/issues/833">detect another UMD pattern</a> and to skip looking at its internal structure.</p>
Expand Down
4 changes: 2 additions & 2 deletions require.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** vim: et:ts=4:sw=4:sts=4
* @license RequireJS 2.1.20 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
* @license RequireJS 2.1.21 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
Expand All @@ -12,7 +12,7 @@ var requirejs, require, define;
(function (global) {
var req, s, head, baseElement, dataMain, src,
interactiveScript, currentlyAddingScript, mainScript, subPath,
version = '2.1.20',
version = '2.1.21',
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
jsSuffixRegExp = /\.js$/,
Expand Down

0 comments on commit b056cd7

Please sign in to comment.