1
0
Fork 0

Update ahuacatl.js

vertexFilterType -> vertexFilterMethod
This commit is contained in:
dajester2013 2014-01-23 06:02:30 -06:00
parent f99df3b6b0
commit bc09265335
1 changed files with 2 additions and 2 deletions

View File

@ -3765,7 +3765,7 @@ function TRAVERSAL_VERTEX_FILTER (config, vertex, path) {
"use strict";
if (!MATCHES(vertex, config.filterVertexExamples)) {
return config.vertexFilterType;
return config.vertexFilterMethod;
}
}
@ -3841,7 +3841,7 @@ function TRAVERSAL_FUNC (func, vertexCollection, edgeCollection, startVertex, di
if (params.filterVertices) {
config.filter = TRAVERSAL_VERTEX_FILTER;
config.filterVertexExamples = params.filterVertices;
config.vertexFilterType = params.vertexFilterType || ["prune","exclude"];
config.vertexFilterMethod = params.vertexFilterMethod || ["prune","exclude"];
}
if (params._sort) {