[Pkg-javascript-commits] [node-acorn-jsx] 16/484: Typo in docs

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:19:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit 30b348728cce6fbed7fb35348b01bafdcc35ef8c
Author: Marijn Haverbeke <marijnh at gmail.com>
Date:   Tue Oct 2 16:20:48 2012 +0200

    Typo in docs
---
 acorn.js   | 4 ++--
 index.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/acorn.js b/acorn.js
index 9dc277f..c635f07 100644
--- a/acorn.js
+++ b/acorn.js
@@ -19,8 +19,8 @@
   exports.version = "0.0.1";
 
   // The main exported interface (under `window.acorn` when in the
-  // browser) a `parse` function that takes a code string and returns
-  // an abstract syntax tree as specified by [Mozilla parser
+  // browser) is a `parse` function that takes a code string and
+  // returns an abstract syntax tree as specified by [Mozilla parser
   // API][api], with the caveat that the SpiderMonkey-specific syntax
   // (`let`, `yield`, inline XML, etc) is not recognized, and that
   // range information is attached directly to the AST nodes as
diff --git a/index.html b/index.html
index c05ec7e..442487c 100644
--- a/index.html
+++ b/index.html
@@ -14,8 +14,8 @@ https://github.com/marijnh/acorn.git
   <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. [...]
-browser) a <code>parse</code> function that takes a code string and returns
-an abstract syntax tree as specified by <a href="https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API">Mozilla parser
+browser) is a <code>parse</code> function that takes a code string and
+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
 (<code>let</code>, <code>yield</code>, inline XML, etc) is not recognized, and that
 range information is attached directly to the AST nodes as

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list