Typo in docs
This commit is contained in:
parent
4cbe2afae5
commit
30b348728c
4
acorn.js
4
acorn.js
@ -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
|
||||||
|
|||||||
@ -14,8 +14,8 @@ https://github.com/marijnh/acorn.git
|
|||||||
<span class="s2">"strict mode"</span><span class="p">;</span>
|
<span class="s2">"strict mode"</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">"0.0.1"</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">¶</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">"0.0.1"</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">¶</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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user