1
0
Fork 0

Made the user-defined expander work

This commit is contained in:
Michael Hackstein 2013-06-13 09:45:27 +02:00
parent 4dd6ff7219
commit ce8343baa4
1 changed files with 2 additions and 2 deletions

View File

@ -493,12 +493,12 @@ function validateArg (value, map) {
/// body += '"var connections = [ ];';
/// body += 'if (vertex.name === \\"Alice\\") {';
/// body += 'config.edgeCollection.inEdges(vertex).forEach(function (e) {';
/// body += 'connections.push({ vertex: db.document(e._from), edge: e });';
/// body += 'connections.push({ vertex: require(\\"internal\\").db._document(e._from), edge: e });';
/// body += '});';
/// body += '}';
/// body += 'if (vertex.name === \\"Eve\\") {';
/// body += 'config.edgeCollection.outEdges(vertex).forEach(function (e) {';
/// body += 'connections.push({ vertex: db.document(e._to), edge: e });';
/// body += 'connections.push({ vertex: require(\\"internal\\").db._document(e._to), edge: e });';
/// body += '});';
/// body += '}';
/// body += 'return connections;"}';