1
0
Fork 0

fixed errors reported by jslint

This commit is contained in:
Jan Steemann 2014-09-14 00:09:09 +02:00
parent 4e6f6f2cbd
commit 287a6f6b49
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,6 @@
/*jshint strict: false */ /*jshint strict: false */
/*global require, exports, assertTrue, assertEqual, fail, AQL_EXECUTE, AQL_PARSE */ /*global require, exports, assertTrue, assertEqual, fail,
AQL_EXECUTE, AQL_PARSE, AQL_EXPLAIN, AQL_EXECUTEJSON */
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief aql test helper functions /// @brief aql test helper functions
@ -477,7 +478,6 @@ function findReferencedNodes(plan, testNode) {
} }
function getQueryMultiplePlansAndExecutions (query, bindVars, debug) { function getQueryMultiplePlansAndExecutions (query, bindVars, debug) {
var plan;
var i; var i;
var plans = []; var plans = [];
var allPlans = []; var allPlans = [];
@ -485,8 +485,9 @@ function getQueryMultiplePlansAndExecutions (query, bindVars, debug) {
var paramNone = { optimizer: { rules: [ "-all" ]}, verbosePlans: true}; var paramNone = { optimizer: { rules: [ "-all" ]}, verbosePlans: true};
var paramAllPlans = { allPlans : true, verbosePlans: true}; var paramAllPlans = { allPlans : true, verbosePlans: true};
if (debug === undefined) if (debug === undefined) {
debug = false; debug = false;
}
// first fetch the unmodified version // first fetch the unmodified version
if (debug) { if (debug) {

View File

@ -1,5 +1,5 @@
/*jshint strict: false */ /*jshint strict: false */
/*global require, exports, module, AQL_PARSE */ /*global require, exports, module, AQL_PARSE, AQL_EXPLAIN */
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief ArangoStatement /// @brief ArangoStatement