1
0
Fork 0

Fix linter errors

This commit is contained in:
Andreas Streichardt 2016-04-05 18:45:39 +02:00
parent c2cf4be4e0
commit 3bdbded541
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ var arangodb = require("@arangodb");
var db = arangodb.db;
var graph = require("@arangodb/general-graph");
var cluster;
var isOnServer = (typeof ArangoClusterComm === "object");
if (isOnServer) {
cluster = require("@arangodb/cluster");
} else {

View File

@ -43,7 +43,7 @@ var endpointToURL = function (endpoint) {
return "http://" + endpoint;
}
return "http" + endpoint.substr(pos);
}
};
////////////////////////////////////////////////////////////////////////////////
/// @brief create a unique identifier