Skip to content

Commit

Permalink
more doc updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrburke committed Aug 17, 2011
1 parent daabd21 commit d485cda
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/download.html
Expand Up @@ -53,6 +53,8 @@ <h4 class="hbox">

<p>The r.js file allows you to run the optimizer as well as run modules in Node or Rhino.</p>

<p>If you are running in Node, and want to use npm to install this file via npm, see the <a href="node.html">Use with Node</a> page for more information.</p>

<p>For information on its use, as well as how to get the JAR files to run it under Rhino, see the <a href="https://github.com/jrburke/r.js">r.js README</a>.</p>

</div>
Expand Down
3 changes: 3 additions & 0 deletions docs/node.html
Expand Up @@ -83,6 +83,9 @@ <h3 id="usage">Usage<h3>
<pre><code>var requirejs = require('requirejs');

requirejs.config({
//Pass the top-level main.js/index.js require
//function to requirejs so that node modules
//are loaded relative to the top-level JS file.
nodeRequire: require
});

Expand Down
3 changes: 1 addition & 2 deletions tasks.txt
Expand Up @@ -6,6 +6,7 @@ Release Notes
- catchError: define
- require.config
- npm install requirejs, web build/single script tag.
- update for closure compiler call

Next release
--------------
Expand All @@ -17,8 +18,6 @@ http://www.html5rocks.com/en/tutorials/file/filesystem/#toc-filesystemurls
Docs:
- rename r.js to be another name, confusing as a shorthand for require.js?

- Update docs and then r.js README on how specifically to run with google closure compiler.

- Pointer to motivations behind current thing, reason for dependencies.

- Update the coffeescript plugin to use the writeFile API?
Expand Down

0 comments on commit d485cda

Please sign in to comment.