You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2018/10/05 12:37:04 UTC

[03/10] tinkerpop git commit: Fix on eval() incorrect documentation

Fix on eval() incorrect documentation


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/090f1394
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/090f1394
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/090f1394

Branch: refs/heads/TINKERPOP-1959
Commit: 090f1394a82be9bfd8fede85fa75655ab1f0f249
Parents: c04ddae
Author: Matthew Allen <ma...@runbox.com>
Authored: Sat Aug 25 00:02:27 2018 +0100
Committer: Matthew Allen <ma...@runbox.com>
Committed: Sat Aug 25 00:02:27 2018 +0100

----------------------------------------------------------------------
 gremlin-javascript/glv/GraphTraversalSource.template | 3 +--
 gremlin-javascript/glv/TraversalSource.template      | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/090f1394/gremlin-javascript/glv/GraphTraversalSource.template
----------------------------------------------------------------------
diff --git a/gremlin-javascript/glv/GraphTraversalSource.template b/gremlin-javascript/glv/GraphTraversalSource.template
index 3f8e715..e48dd67 100644
--- a/gremlin-javascript/glv/GraphTraversalSource.template
+++ b/gremlin-javascript/glv/GraphTraversalSource.template
@@ -109,9 +109,8 @@ class GraphTraversal extends Traversal {
   /**
    * Send a Gremlin-Groovy script to the server. If a script is not passed in 
    * then the bytecode instructions will be converted to a script and sent.
-   * @param {string} gremlinScript The script to send to server
+   * @param {string} script The script to send to server
    * @param {array} bindings Map of bindings
-   * @param {*} options Options to configure the script sending
    */
   eval(script, bindings) {
     this.bytecode.addStep('eval', [ script, bindings ]);

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/090f1394/gremlin-javascript/glv/TraversalSource.template
----------------------------------------------------------------------
diff --git a/gremlin-javascript/glv/TraversalSource.template b/gremlin-javascript/glv/TraversalSource.template
index 6afe868..9824273 100644
--- a/gremlin-javascript/glv/TraversalSource.template
+++ b/gremlin-javascript/glv/TraversalSource.template
@@ -81,9 +81,8 @@ class Traversal {
   /**
    * Send a Gremlin-Groovy script to the server. If a script is not passed in 
    * then the bytecode instructions will be converted to a script and sent.
-   * @param {string} gremlinScript The script to send to server
+   * @param {string} script The script to send to server
    * @param {array} bindings Map of bindings
-   * @param {*} options Options to configure the script sending
    */
   eval(script, bindings) {
     this.bytecode.addStep('eval', [ script, bindings ]);