1
0
Fork 0

jslint fix

This commit is contained in:
gschwab 2014-05-22 12:34:08 +02:00
parent ec1ecaa107
commit c63c8c465e
1 changed files with 4 additions and 1 deletions

View File

@ -581,7 +581,10 @@ var checkIfMayBeDropped = function(colName, graphName, graphs) {
var from = edgeDefinition.from;
var to = edgeDefinition.to;
var collection = edgeDefinition.collection;
if (collection === colName || from.indexOf(colName) !== -1 || to.indexOf(colName) !== -1) {
if (collection === colName
|| from.indexOf(colName) !== -1
|| to.indexOf(colName) !== -1
) {
result = false;
}
}