1
0
Fork 0

Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel

This commit is contained in:
Michael Hackstein 2014-01-31 14:06:51 +01:00
commit f7735391df
12 changed files with 6 additions and 14 deletions

View File

@ -1036,7 +1036,7 @@ bool RestDocumentHandler::replaceDocument () {
/// ///
/// @RESTQUERYPARAMETERS /// @RESTQUERYPARAMETERS
/// ///
/// @RESTQUERYPARAM{keepNull,string,optional} /// @RESTQUERYPARAM{keepNull,boolean,optional}
/// If the intention is to delete existing attributes with the patch command, /// If the intention is to delete existing attributes with the patch command,
/// the URL query parameter `keepNull` can be used with a value of `false`. /// the URL query parameter `keepNull` can be used with a value of `false`.
/// This will modify the behavior of the patch command to remove any attributes /// This will modify the behavior of the patch command to remove any attributes

View File

@ -574,7 +574,7 @@ bool RestEdgeHandler::createDocument () {
/// ///
/// @RESTQUERYPARAMETERS /// @RESTQUERYPARAMETERS
/// ///
/// @RESTQUERYPARAM{keepNull,string,optional} /// @RESTQUERYPARAM{keepNull,boolean,optional}
/// If the intention is to delete existing attributes with the patch command, /// If the intention is to delete existing attributes with the patch command,
/// the URL query parameter `keepNull` can be used with a value of `false`. /// the URL query parameter `keepNull` can be used with a value of `false`.
/// This will modify the behavior of the patch command to remove any attributes /// This will modify the behavior of the patch command to remove any attributes

View File

@ -1475,7 +1475,7 @@ function delete_api_structure (req, res) {
/// ///
/// @RESTQUERYPARAMETERS /// @RESTQUERYPARAMETERS
/// ///
/// @RESTQUERYPARAM{keepNull,string,optional} /// @RESTQUERYPARAM{keepNull,boolean,optional}
/// If the intention is to delete existing attributes with the patch command, /// If the intention is to delete existing attributes with the patch command,
/// the URL query parameter `keepNull` can be used with a value of `false`. /// the URL query parameter `keepNull` can be used with a value of `false`.
/// This will modify the behavior of the patch command to remove any attributes /// This will modify the behavior of the patch command to remove any attributes

View File

@ -52,7 +52,6 @@
// cannot use strict here as we are going to delete globals // cannot use strict here as we are going to delete globals
var exports = require("internal"); var exports = require("internal");
var fs = require("fs");
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// --SECTION-- Module "internal" // --SECTION-- Module "internal"

View File

@ -271,7 +271,7 @@ exports.printTable = function (list, columns, options) {
} }
var pad = '...'; var pad = '...';
var descriptions, matrix, col, what, j, value; var descriptions, matrix, col, what, j;
if (columns === undefined) { if (columns === undefined) {
what = list[0]; what = list[0];

View File

@ -30,9 +30,7 @@ module.define("org/arangodb/graph", function(exports, module) {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
var arangodb = require("org/arangodb"), var arangodb = require("org/arangodb"),
arangosh = require("org/arangodb/arangosh"),
is = require("org/arangodb/is"), is = require("org/arangodb/is"),
ArangoQueryCursor = require("org/arangodb/arango-query-cursor").ArangoQueryCursor,
common = require("org/arangodb/graph-common"), common = require("org/arangodb/graph-common"),
Edge = common.Edge, Edge = common.Edge,
Graph = common.Graph, Graph = common.Graph,

View File

@ -32,7 +32,6 @@ exports.Swagger = function () {
"use strict"; "use strict";
var db = require("internal").db, var db = require("internal").db,
_routing = db._collection("_routing"),
_aal = db._collection("_aal"), _aal = db._collection("_aal"),
_ = require("underscore"), _ = require("underscore"),
foxx_manager = require("org/arangodb/foxx/manager"); foxx_manager = require("org/arangodb/foxx/manager");

View File

@ -1088,7 +1088,7 @@ exports.config = function () {
exports.configJson = function () { exports.configJson = function () {
'use strict'; 'use strict';
var res = arango.GET("/_admin/foxx/config"), name; var res = arango.GET("/_admin/foxx/config");
arangosh.checkRequestResult(res); arangosh.checkRequestResult(res);

View File

@ -29,9 +29,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
var arangodb = require("org/arangodb"), var arangodb = require("org/arangodb"),
arangosh = require("org/arangodb/arangosh"),
is = require("org/arangodb/is"), is = require("org/arangodb/is"),
ArangoQueryCursor = require("org/arangodb/arango-query-cursor").ArangoQueryCursor,
common = require("org/arangodb/graph-common"), common = require("org/arangodb/graph-common"),
Edge = common.Edge, Edge = common.Edge,
Graph = common.Graph, Graph = common.Graph,

View File

@ -270,7 +270,7 @@ exports.printTable = function (list, columns, options) {
} }
var pad = '...'; var pad = '...';
var descriptions, matrix, col, what, j, value; var descriptions, matrix, col, what, j;
if (columns === undefined) { if (columns === undefined) {
what = list[0]; what = list[0];

View File

@ -30,7 +30,6 @@
var graph = require("org/arangodb/graph"); var graph = require("org/arangodb/graph");
var Edge = graph.Edge;
var Graph = graph.Graph; var Graph = graph.Graph;
var Vertex = graph.Vertex; var Vertex = graph.Vertex;

View File

@ -182,7 +182,6 @@ extend(RequestContext.prototype, {
pathParam: function (paramName, attributes) { pathParam: function (paramName, attributes) {
'use strict'; 'use strict';
var url = this.route.url, var url = this.route.url,
docs = this.route.docs,
constraint = url.constraint || {}; constraint = url.constraint || {};
constraint[paramName] = this.typeToRegex[attributes.type]; constraint[paramName] = this.typeToRegex[attributes.type];