Skip to content

Commit 6bded39

Browse files
committed
Rev for 2.3
1 parent a21a3f4 commit 6bded39

File tree

4 files changed

+21
-8
lines changed

4 files changed

+21
-8
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.2.0</a></span>
3+
<span class="line">Latest Release: <a href="http://requirejs.org/docs/download.html">2.3.0</a></span>
44
<span class="line">Open source: <a href="https://github.com/requirejs/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.2.0 Docs (<a href="https://github.com/requirejs/requirejs/wiki/Upgrading-to-RequireJS-2.1">upgrade info</a>)</li>
179+
<li class="version">2.3.0 Docs (<a href="https://github.com/requirejs/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: 17 additions & 4 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.2.0</a>
28+
<a name="requirejs">require.js 2.3.0</a>
2929
<span class="boxFlex"></span>
30-
<a class="download" href="http://requirejs.org/docs/release/2.2.0/minified/require.js">Minified</a>
31-
<a class="download" href="http://requirejs.org/docs/release/2.2.0/comments/require.js">With Comments</a>
30+
<a class="download" href="http://requirejs.org/docs/release/2.3.0/minified/require.js">Minified</a>
31+
<a class="download" href="http://requirejs.org/docs/release/2.3.0/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.2.0/r.js">Download</a>
41+
<a class="download" href="http://requirejs.org/docs/release/2.3.0/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,6 +98,19 @@ <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-3-0">2.3.0</h3>
102+
103+
<p>The way dependencies are found for the <a href="http://requirejs.org/docs/whyamd.html#sugar">sugared syntax</a> changed slightly in <a href="https://github.com/requirejs/requirejs/pull/1582">#1582</a>. It is now faster and should catch more legitimate dependency cases. You should not notice any negative consequences to the change, but given how important that mechanism is, it was best to rev the minor version to 2.3. The r.js optimizer also <a href="https://github.com/requirejs/r.js/issues/921">handles larger directory changes better</a>. If you are using 2.2, you are encouraged to update to 2.3.</p>
104+
105+
<p><a href="https://github.com/requirejs/alameda/releases/tag/1.1.0">alameda was also updated to 1.1.0</a> to include the same dependency searching change as requirejs 2.3.</p>
106+
107+
<p>Full list of changes:</p>
108+
109+
<ul>
110+
<li><a href="https://github.com/requirejs/requirejs/issues?q=milestone%3A2.3.0+is%3Aclosed">Fixed requirejs issues</a></li>
111+
<li><a href="https://github.com/requirejs/r.js/issues?q=milestone%3A2.3.0+is%3Aclosed">Fixed r.js issues</a></li>
112+
</ul>
113+
101114
<h3 id="2-2-0">2.2.0</h3>
102115

103116
<p><a href="http://jrburke.com/2016/03/17/requirejs-2.2-alameda-1.0-released/">More details on the higher level motivations for the 2.2 release.</a></p>

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.2.0 Copyright jQuery Foundation and other contributors.
2+
* @license RequireJS 2.3.0 Copyright jQuery Foundation and other contributors.
33
* Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
44
*/
55
//Not using strict: uneven strict support in browsers, #392, and causes
@@ -11,7 +11,7 @@ var requirejs, require, define;
1111
(function (global, setTimeout) {
1212
var req, s, head, baseElement, dataMain, src,
1313
interactiveScript, currentlyAddingScript, mainScript, subPath,
14-
version = '2.2.0',
14+
version = '2.3.0',
1515
commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
1616
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
1717
jsSuffixRegExp = /\.js$/,

0 commit comments

Comments
 (0)