You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2019/05/13 11:14:46 UTC

[GitHub] [tinkerpop] spmallette commented on a change in pull request #1112: TINKERPOP-2089 Added DSL support to gremlin-javascript

spmallette commented on a change in pull request #1112: TINKERPOP-2089 Added DSL support to gremlin-javascript
URL: https://github.com/apache/tinkerpop/pull/1112#discussion_r283296753
 
 

 ##########
 File path: gremlin-javascript/glv/GraphTraversalSource.template
 ##########
 @@ -51,7 +55,8 @@ class GraphTraversalSource {
   withRemote(remoteConnection) {
     const traversalStrategy = new TraversalStrategies(this.traversalStrategies);
     traversalStrategy.addStrategy(new remote.RemoteStrategy(remoteConnection));
-    return new GraphTraversalSource(this.graph, traversalStrategy, new Bytecode(this.bytecode));
+    var object = Object.create(this.constructor.prototype);
 
 Review comment:
   yeah - that should be deleted. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services