From f99df3b6b0c4a4f799e5fc60f354fd77b5fd96a5 Mon Sep 17 00:00:00 2001 From: dajester2013 Date: Thu, 23 Jan 2014 05:48:23 -0600 Subject: [PATCH] Update ahuacatl.js followVertices changed to filterVertices --- js/server/modules/org/arangodb/ahuacatl.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/server/modules/org/arangodb/ahuacatl.js b/js/server/modules/org/arangodb/ahuacatl.js index b2d0c9995d..e9485f75ce 100644 --- a/js/server/modules/org/arangodb/ahuacatl.js +++ b/js/server/modules/org/arangodb/ahuacatl.js @@ -3770,7 +3770,7 @@ function TRAVERSAL_VERTEX_FILTER (config, vertex, path) { } //////////////////////////////////////////////////////////////////////////////// -/// @brief check typeweights of params.followEdges/params.followVertices +/// @brief check typeweights of params.followEdges/params.filterVertices //////////////////////////////////////////////////////////////////////////////// function TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS (examples) { @@ -3807,9 +3807,9 @@ function TRAVERSAL_FUNC (func, vertexCollection, edgeCollection, startVertex, di if (params.followEdges) { TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.followEdges); } - // check followVertices property - if (params.followVertices) { - TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.followVertices); + // check filterVertices property + if (params.filterVertices) { + TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.filterVertices); } if (typeof params.visitor !== "function") {