1
0
Fork 0

fixed grammar

This commit is contained in:
Jan Steemann 2014-11-14 17:00:06 +01:00
parent 2c0f5b96c9
commit d37f4593b0
2 changed files with 8 additions and 8 deletions

View File

@ -55,7 +55,7 @@ function EventLibrary() {
this.checkExpandConfig = function(config) { this.checkExpandConfig = function(config) {
if (config.startCallback === undefined) { if (config.startCallback === undefined) {
throw "A callback to the Start-method has to be defined"; throw "A callback to the start-method has to be defined";
} }
if (config.adapter === undefined || config.adapter.explore === undefined) { if (config.adapter === undefined || config.adapter.explore === undefined) {
throw "An adapter to load data has to be defined"; throw "An adapter to load data has to be defined";
@ -99,7 +99,7 @@ function EventLibrary() {
throw "An adapter has to be defined"; throw "An adapter has to be defined";
} }
if (config.shaper === undefined) { if (config.shaper === undefined) {
throw "A Node Shaper has to be defined"; throw "A node shaper has to be defined";
} }
return true; return true;
}; };
@ -109,7 +109,7 @@ function EventLibrary() {
throw "An adapter has to be defined"; throw "An adapter has to be defined";
} }
if (config.shaper === undefined) { if (config.shaper === undefined) {
throw "An Edge Shaper has to be defined"; throw "An edge Shaper has to be defined";
} }
return true; return true;
}; };

View File

@ -504,7 +504,7 @@
"newEdgeDefinitions" + self.counter, "newEdgeDefinitions" + self.counter,
"Edge definitions", "Edge definitions",
edgeDefinition.collection, edgeDefinition.collection,
"An Edge Definition defines a relations of the graph", "An edge definition defines a relation of the graph",
"Edge definitions", "Edge definitions",
true, true,
false, false,
@ -519,7 +519,7 @@
"newEdgeDefinitions" + self.counter, "newEdgeDefinitions" + self.counter,
"Edge definitions", "Edge definitions",
edgeDefinition.collection, edgeDefinition.collection,
"An Edge Definition defines a relations of the graph", "An edge definition defines a relation of the graph",
"Edge definitions", "Edge definitions",
false, false,
true, true,
@ -534,7 +534,7 @@
"fromCollections" + self.counter, "fromCollections" + self.counter,
"fromCollections", "fromCollections",
edgeDefinition.from, edgeDefinition.from,
"The collection that contain the start vertices of the relation.", "The collections that contain the start vertices of the relation.",
"fromCollections", "fromCollections",
true, true,
false, false,
@ -548,7 +548,7 @@
"toCollections" + self.counter, "toCollections" + self.counter,
"toCollections", "toCollections",
edgeDefinition.to, edgeDefinition.to,
"The collection that contain the end vertices of the relation.", "The collections that contain the end vertices of the relation.",
"toCollections", "toCollections",
true, true,
false, false,
@ -566,7 +566,7 @@
"newVertexCollections", "newVertexCollections",
"Vertex collections", "Vertex collections",
orphanCollections, orphanCollections,
"Collections, that are part of a graph, but not used in an edge definition", "Collections that are part of a graph but not used in an edge definition",
"Vertex Collections", "Vertex Collections",
false, false,
false, false,