8000 2.1.22 · dev2019zheng/requirejs@978d4e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 978d4e5

Browse files
committed
2.1.22
1 parent 105d0a4 commit 978d4e5

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

dist/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
</div>
22
<div id="footer" class="mono">
3-
<span class="line">Latest Release: <a href="http://requirejs.org/docs/download.html">2.1.21</a></span>
3+
<span class="line">Latest Release: <a href="http://requirejs.org/docs/download.html">2.1.22</a></span>
44
<span class="line">Open source: <a href="https://github.com/jrburke/requirejs/blob/master/LICENSE">new BSD or MIT licensed</a></span>
55
<span class="line">web design by <a href="http://andychung.me/">Andy Chung</a> &copy; 2011-2015</span>
66
</div>

dist/pre.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ <h1>a javascript module loader</h1>
176176

177177

178178
<ul>
179-
<li class="version">2.1.21 Docs (<a href="https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
179+
<li class="version">2.1.22 Docs (<a href="https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
180180
<li class="version"><a class="local" href="1.0/">1.0 Doc Link</a></li>
181181
</ul>
182182

docs/download.html

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ <h2><a name="latest">Latest Release</a><span class="sectionMark">&sect; 1</span>
2525

2626
<div class="subSection">
2727
<h4 class="hbox">
28-
<a name="requirejs">require.js 2.1.21</a>
28+
<a name="requirejs">require.js 2.1.22</a>
2929
<span class="boxFlex"></span>
30-
<a class="download" href="http://requirejs.org/docs/release/2.1.21/minified/require.js">Minified</a>
31-
<a class="download" href="http://requirejs.org/docs/release/2.1.21/comments/require.js">With Comments</a>
30+
<a class="download" href="http://requirejs.org/docs/release/2.1.22/minified/require.js">Minified</a>
31+
<a class="download" href="http://requirejs.org/docs/release/2.1.22/comments/require.js">With Comments</a>
3232
</h4>
3333

3434
<p>All you need to start using require.js in the browser.</p>
@@ -38,7 +38,7 @@ <h4 class="hbox">
3838
<h4 class="hbox">
3939
<a name="rjs">r.js: Optimizer and Node/Rhino/Nashorn/xpcshell adapter</a>
4040
<span class="boxFlex"></span>
41-
<a class="download" href="http://requirejs.org/docs/release/2.1.21/r.js">Download</a>
41+
<a class="download" href="http://requirejs.org/docs/release/2.1.22/r.js">Download</a>
4242
</h4>
4343

4444
<p>The r.js file allows you to run the optimizer as well as run modules in Node, Rhino, Nashorn or xpcshell.</p>
@@ -98,14 +98,25 @@ <h4 class="hbox">
9898
<div class="section">
9999
<h2><a name="releasenotes">Release Notes</a><span class="sectionMark">&sect; 3</span></h2>
100100

101+
<h3 id="2-1-22">2.1.22</h3>
102+
103+
<p>The main issue: a change in 2.1.22 of require.js ended up greating an extraneous global. While jshint is used in the repo, it was not properly configured to catch that issue, but it is now. Only the require.js loader changed. No r.js optimizer-specific bug fixes, but it uses require.js as a dependency.</p>
104+
105+
<p>Full list of changes:</p>
106+
107+
<ul>
108+
<li><a href="https://github.com/jrburke/requirejs/issues?q=milestone%3A2.1.22+is%3Aclosed">Fixed requirejs issues</a></li>
109+
</ul>
110+
111+
101112
<h3 id="2-1-21">2.1.21</h3>
102113

103114
<p>Main changes in the r.js optimizer: updates to the Esprima and UglifyJS dependencies. For require.js: fixes a couple of error conditions.</p>
104115

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

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

require.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** vim: et:ts=4:sw=4:sts=4
2-
* @license RequireJS 2.1.21+ Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
2+
* @license RequireJS 2.1.22 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
33
* Available via the MIT or new BSD license.
44
* see: http://github.com/jrburke/requirejs for details
55
*/
@@ -12,7 +12,7 @@ var requirejs, require, define;
1212
(function (global) {
1313
var req, s, head, baseElement, dataMain, src,
1414
interactiveScript, currentlyAddingScript, mainScript, subPath,
15-
version = '2.1.21+',
15+
version = '2.1.22',
1616
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
1717
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
1818
jsSuffixRegExp = /\.js$/,

0 commit comments

Comments
 (0)
0