1
0
Fork 0

added generated files

This commit is contained in:
Jan Steemann 2015-09-22 10:35:33 +02:00
parent b8a5e56cb7
commit 1e8ffad44e
2 changed files with 6 additions and 14 deletions

View File

@ -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 + '" ...]';
}
}
}

View File

@ -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
////////////////////////////////////////////////////////////////////////////////