diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/module-internal.js b/js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/module-internal.js index e05e7ec2d9..4e05fbf121 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/module-internal.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/module-internal.js @@ -1226,7 +1226,6 @@ function printObject (object, context) { var funcRE = /function ([^\(]*)?\(\) \{ \[native code\] \}/; var func2RE = /function ([^\(]*)?\((.*)\) \{/; -var classRE = /class ([^{]*)? \{/; exports.printRecursive = printRecursive = function (value, context) { @@ -1322,15 +1321,8 @@ exports.printRecursive = printRecursive = function (value, context) { } } else { - m = classRE.exec(f); - - if (m !== null) { - context.output += 'class ' + m[1] + ' { ... }'; - } - else { - f = f.substr(8, f.length - 10).trim(); - context.output += '[Function "' + f + '" ...]'; - } + f = f.substr(8, f.length - 10).trim(); + context.output += '[Function "' + f + '" ...]'; } } } diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/modules/org/arangodb/arango-collection-common.js b/js/apps/system/_admin/aardvark/APP/frontend/js/modules/org/arangodb/arango-collection-common.js index 269e369a13..42e381efb0 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/modules/org/arangodb/arango-collection-common.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/modules/org/arangodb/arango-collection-common.js @@ -312,7 +312,7 @@ ArangoCollection.prototype.byExample = function (example) { /// `collection.byExampleHash(index, example)` /// /// Selects all documents from the specified hash index that match the -/// specified example example and returns a cursor. +/// specified example and returns a cursor. /// /// You can use *toArray*, *next*, or *hasNext* to access the /// result. The result can be limited using the *skip* and *limit* @@ -362,10 +362,10 @@ ArangoCollection.prototype.byExampleHash = function (index, example) { //////////////////////////////////////////////////////////////////////////////// /// @brief constructs a query-by-example using a skiplist index /// @startDocuBlock collectionByExampleSkiplist -/// `collection}.byExampleSkiplist(index, example) +/// `collection.byExampleSkiplist(index, example)` /// /// Selects all documents from the specified skiplist index that match the -/// specified example example and returns a cursor. +/// specified example and returns a cursor. /// /// You can use *toArray*, *next*, or *hasNext* to access the /// result. The result can be limited using the *skip* and *limit* @@ -400,7 +400,7 @@ ArangoCollection.prototype.byExampleHash = function (index, example) { /// /// will match. /// -/// `collection.byExampleHash(index-id, path1, value1, ...)` +/// `collection.byExampleSkiplist(index, path1, value1, ...)` /// @endDocuBlock ////////////////////////////////////////////////////////////////////////////////