Skip to content

Commit

Permalink
add some fragment IDs to allow better nav in the whyamd doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrburke committed Oct 18, 2011
1 parent 120b5f3 commit ffae7b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/whyamd.html
Expand Up @@ -350,7 +350,7 @@ <h2>
<span class="sectionMark">&sect; 10</span>
</h2>

<p><strong>If you write applications:</strong></p>
<p id="doapp"><strong>If you write applications:</strong></p>

<ul>
<li>Give an AMD loader a try. You have some choices:
Expand All @@ -366,7 +366,7 @@ <h2>
</ul></li>
</ul>

<p><strong>If you are a script/library author</strong>:</p>
<p id="dolib"><strong>If you are a script/library author</strong>:</p>

<ul>
<li><a href="https://gist.github.com/1262861">Optionally call define()</a> if it is available. The nice thing is you can still code your library without relying on AMD, just participate if it is available. This allows consumers of your modules to:
Expand All @@ -378,7 +378,7 @@ <h2>
</ul></li>
</ul>

<p><strong>If you write code loaders/engines/environments for JavaScript:</strong></p>
<p id="doenv"><strong>If you write code loaders/engines/environments for JavaScript:</strong></p>

<ul>
<li>Implement <a href="https://github.com/amdjs/amdjs-api/wiki/AMD">the AMD API</a>. There is <a href="https://groups.google.com/group/amd-implement">a discussion list</a> and <a href="https://github.com/amdjs/amdjs-tests">compatibility tests</a>. By implementing AMD, you will reduce multi-module system boilerplate and help prove out a workable JavaScript module system on the web. This can be fed back into the ECMAScript process to build better native module support.</li>
Expand Down

0 comments on commit ffae7b6

Please sign in to comment.