Skip to content

Commit a2a97a7

Browse files
committed
Update version for release.
1 parent 8828b2d commit a2a97a7

File tree

4 files changed

+23
-17
lines changed

4 files changed

+23
-17
lines changed

dist/pre.html

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

168168

169169
<ul>
170-
<li class="version">2.0.0 Docs</li>
170+
<li class="version">2.0.0 Docs (<a href="https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.0">upgrade info</a>)</li>
171171
<li class="version"><a class="local" href="1.0/">1.0 Doc Link</a></li>
172172
</ul>
173173

docs/download.html

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ <h1>Download RequireJS</h1>
2222
<div class="section">
2323
<h2><a name="latest">Latest Release</a><span class="sectionMark">&sect; 1</span></h2>
2424

25+
<span class="note">Just released: <a href="https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.0">RequireJS 2.0</a>.
26+
If you want 1.0: <a href="1.0/">Link to 1.0</a>.</span>
27+
2528
<div class="subSection">
2629
<h4 class="hbox">
27-
<a name="requirejs">require.js 1.0.8</a>
30+
<a name="requirejs">require.js 2.0.0</a>
2831
<span class="boxFlex"></span>
29-
<a class="download" href="http://requirejs.org/docs/release/1.0.8/minified/require.js">Minified</a>
30-
<a class="download" href="http://requirejs.org/docs/release/1.0.8/comments/require.js">With Comments</a>
32+
<a class="download" href="http://requirejs.org/docs/release/2.0.0/minified/require.js">Minified</a>
33+
<a class="download" href="http://requirejs.org/docs/release/2.0.0/comments/require.js">With Comments</a>
3134
</h4>
3235

3336
<p>All you need to start using require.js in the browser.</p>
@@ -48,7 +51,7 @@ <h4 class="hbox">
4851
<h4 class="hbox">
4952
<a name="rjs">r.js: Optimizer and Node and Rhino adapter</a>
5053
<span class="boxFlex"></span>
51-
<a class="download" href="http://requirejs.org/docs/release/1.0.8/r.js">Download</a>
54+
<a class="download" href="http://requirejs.org/docs/release/2.0.0/r.js">Download</a>
5255
</h4>
5356

5457
<p>The r.js file allows you to run the optimizer as well as run modules in Node or Rhino.</p>
@@ -68,8 +71,7 @@ <h2><a name="plugins">Plugins</a><span class="sectionMark">&sect; 2</span></h2>
6871
<h4 class="hbox">
6972
<a name="text">text</a>
7073
<span class="boxFlex"></span>
71-
<a class="download" href="http://requirejs.org/docs/release/1.0.8/minified/text.js">Minified</a>
72-
<a class="download" href="http://requirejs.org/docs/release/1.0.8/comments/text.js">With Comments</a>
74+
<a class="download" href="https://raw.github.com/requirejs/text/latest/text.js">Download</a>
7375
</h4>
7476
<p><a href="api.html#text">Load text files and treat them as dependencies</a>. Great for loading templates. The text strings can be inlined in an optimized build when the optimizer is used.</p>
7577
</div>
@@ -78,8 +80,7 @@ <h4 class="hbox">
7880
<h4 class="hbox">
7981
<a name="domReady">domReady</a>
8082
<span class="boxFlex"></span>
81-
<a class="download" href="http://requirejs.org/docs/release/1.0.0/minified/domReady.js">Minified</a>
82-
<a class="download" href="http://requirejs.org/docs/release/1.0.0/comments/domReady.js">With Comments</a>
83+
<a class="download" href="https://raw.github.com/requirejs/domReady/latest/domReady.js">Download</a>
8384
</h4>
8485
<p><a href="api.html#pageload">Wait for the DOM is ready</a>. Useful for pausing execution of top level application
8586
logic until the DOM is ready for querying/modification.</p>
@@ -89,7 +90,7 @@ <h4 class="hbox">
8990
<h4 class="hbox">
9091
<a name="cs">cs (CoffeeScript)</a>
9192
<span class="boxFlex"></span>
92-
<a class="download" href="https://github.com/jrburke/require-cs/raw/0.3.2/cs.js">With Comments</a>
93+
<a class="download" href="https://github.com/jrburke/require-cs/raw/0.3.2/cs.js">Download</a>
9394
</h4>
9495
<p>Load files written in CoffeeScript. Includes a version of CoffeeScript, only this one file is needed. With this plugin, it is easy to code in CoffeeScript in the browser, it can participate in the optimizer optimizations, and it works in Node and Rhino via the <a href="#rjs">RequireJS adapter</a>. This is the best way to do cross-environment, modular CoffeeScript. <a href="https://github.com/jrburke/require-cs">The project home</a> has more information on how to use it.</p>
9596
</div>
@@ -99,8 +100,7 @@ <h4 class="hbox">
99100
<h4 class="hbox">
100101
<a name="i18n">i18n</a>
101102
<span class="boxFlex"></span>
102-
<a class="download" href="http://requirejs.org/docs/release/1.0.0/minified/i18n.js">Minified</a>
103-
<a class="download" href="http://requirejs.org/docs/release/1.0.0/comments/i18n.js">With Comments</a>
103+
<a class="download" href="https://raw.github.com/requirejs/i18n/latest/i18n.js">Download</a>
104104
</h4>
105105
<p><a href="api.html#i18n">Load string bundles</a> used in internationalization (i18n) that are made up of separate country/language/locale-specific bundles.</p>
106106
</div>
@@ -110,6 +110,15 @@ <h4 class="hbox">
110110
<div class="section">
111111
<h2><a name="releasenotes">Release Notes</a><span class="sectionMark">&sect; 3</span></h2>
112112

113+
<h3 id="2-0-0">2.0.0</h3>
114+
115+
<ul>
116+
<li><a href="https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.0">2.0 changes</a></li>
117+
<li><a href="https://github.com/jrburke/requirejs/issues?milestone=13&sort=created&direction=desc&state=closed">Fixed require.js issues</a></li>
118+
<li><a href="https://github.com/jrburke/r.js/issues?sort=created&direction=desc&state=closed&page=1&milestone=10">Fixed r.js optimizer issues</a></li>
119+
</ul>
120+
121+
113122
<h3 id="1-0-8">1.0.8</h3>
114123

115124
<p>Small bug fixes to:</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.0.0zdev Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
2+
* @license RequireJS 2.0.0 Copyright (c) 2010-2012, 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
*/
@@ -10,7 +10,7 @@ var requirejs, require, define;
1010
(function (global) {
1111
'use strict';
1212

13-
var version = '2.0.0zdev',
13+
var version = '2.0.0',
1414
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
1515
cjsRequireRegExp = /require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
1616
jsSuffixRegExp = /\.js$/,

tasks.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ with scripts.
1717
- Just remove packages config altogether, suggest volojs for making adapter modules.
1818
-> Allow 'module': '' and 'module/': '' config instead of packages config.
1919

20-
DOC updates:
21-
- In docs, point to a "latest" tag in the plugin repos. Update plugin release versions, add latest tag.
22-
2320
Tests to write:
2421
- mapConfig test for packages.
2522

0 commit comments

Comments
 (0)