1
0
Fork 0

fixed errors reported by jslint

This commit is contained in:
Jan Steemann 2013-01-25 11:10:34 +01:00
parent 2cab878e56
commit 49c267bf0c
2 changed files with 12 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/*jslint indent: 2, nomen: true, maxlen: 100, sloppy: true, vars: true, white: true, plusplus: true, nonpropdel: true */
/*global require, db, ArangoCollection, ArangoDatabase, ArangoError, ArangoCursor,
ShapedJson, RELOAD_AUTH, SYS_DEFINE_ACTION, SYS_EXECUTE_GLOBAL_CONTEXT_FUNCTION,
DATABASEPATH, THREAD_NUMBER */
DATABASEPATH, THREAD_NUMBER, AHUACATL_RUN, AHUACATL_PARSE, AHUACATL_EXPLAIN */
////////////////////////////////////////////////////////////////////////////////
/// @brief module "internal"

View File

@ -2703,7 +2703,11 @@ function GRAPH_TRAVERSAL (func, vertexCollection, edgeCollection, startVertex, d
/// @brief traverse a graph
////////////////////////////////////////////////////////////////////////////////
function GRAPH_TRAVERSE (vertexCollection, edgeCollection, startVertex, direction, params) {
function GRAPH_TRAVERSE (vertexCollection,
edgeCollection,
startVertex,
direction,
params) {
params.visitor = TRAVERSE_VISITOR;
return GRAPH_TRAVERSAL("TRAVERSE",
@ -2720,7 +2724,12 @@ function GRAPH_TRAVERSE (vertexCollection, edgeCollection, startVertex, directio
/// a different visitor to create the result
////////////////////////////////////////////////////////////////////////////////
function GRAPH_TREE (vertexCollection, edgeCollection, startVertex, direction, connectName, params) {
function GRAPH_TREE (vertexCollection,
edgeCollection,
startVertex,
direction,
connectName,
params) {
if (connectName === "") {
THROW(INTERNAL.errors.ERROR_QUERY_FUNCTION_ARGUMENT_TYPE_MISMATCH, "TREE");
}