Typo in docs

This commit is contained in:
Marijn Haverbeke 2012-10-02 16:20:48 +02:00
parent 4cbe2afae5
commit 30b348728c
2 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@
exports.version = "0.0.1"; exports.version = "0.0.1";
// The main exported interface (under `window.acorn` when in the // The main exported interface (under `window.acorn` when in the
// browser) a `parse` function that takes a code string and returns // browser) is a `parse` function that takes a code string and
// an abstract syntax tree as specified by [Mozilla parser // returns an abstract syntax tree as specified by [Mozilla parser
// API][api], with the caveat that the SpiderMonkey-specific syntax // API][api], with the caveat that the SpiderMonkey-specific syntax
// (`let`, `yield`, inline XML, etc) is not recognized, and that // (`let`, `yield`, inline XML, etc) is not recognized, and that
// range information is attached directly to the AST nodes as // range information is attached directly to the AST nodes as

View File

@ -14,8 +14,8 @@ https://github.com/marijnh/acorn.git
<span class="s2">&quot;strict mode&quot;</span><span class="p">;</span> <span class="s2">&quot;strict mode&quot;</span><span class="p">;</span>
<span class="nx">exports</span><span class="p">.</span><span class="nx">version</span> <span class="o">=</span> <span class="s2">&quot;0.0.1&quot;</span><span class="p">;</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">&#182;</a> </div> <p>The main exported interface (under <code>window.acorn</code> when in the <span class="nx">exports</span><span class="p">.</span><span class="nx">version</span> <span class="o">=</span> <span class="s2">&quot;0.0.1&quot;</span><span class="p">;</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">&#182;</a> </div> <p>The main exported interface (under <code>window.acorn</code> when in the
browser) a <code>parse</code> function that takes a code string and returns browser) is a <code>parse</code> function that takes a code string and
an abstract syntax tree as specified by <a href="https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API">Mozilla parser returns an abstract syntax tree as specified by <a href="https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API">Mozilla parser
API</a>, with the caveat that the SpiderMonkey-specific syntax API</a>, with the caveat that the SpiderMonkey-specific syntax
(<code>let</code>, <code>yield</code>, inline XML, etc) is not recognized, and that (<code>let</code>, <code>yield</code>, inline XML, etc) is not recognized, and that
range information is attached directly to the AST nodes as range information is attached directly to the AST nodes as