1
0
Fork 0

Update ahuacatl.js

followVertices changed to filterVertices
This commit is contained in:
dajester2013 2014-01-23 05:48:23 -06:00
parent 1cad676170
commit f99df3b6b0
1 changed files with 4 additions and 4 deletions

View File

@ -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) { function TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS (examples) {
@ -3807,9 +3807,9 @@ function TRAVERSAL_FUNC (func, vertexCollection, edgeCollection, startVertex, di
if (params.followEdges) { if (params.followEdges) {
TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.followEdges); TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.followEdges);
} }
// check followVertices property // check filterVertices property
if (params.followVertices) { if (params.filterVertices) {
TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.followVertices); TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.filterVertices);
} }
if (typeof params.visitor !== "function") { if (typeof params.visitor !== "function") {