|
@ -193,7 +193,8 @@ function createConnections() |
|
|
resolve(); |
|
|
resolve(); |
|
|
}).catch(function(error) |
|
|
}).catch(function(error) |
|
|
{ |
|
|
{ |
|
|
reject(error); |
|
|
|
|
|
|
|
|
console.log(error); |
|
|
|
|
|
resolve(); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@ -246,6 +247,7 @@ function createFriendsGraph(username, containerName, graphsTitle) |
|
|
edges = []; |
|
|
edges = []; |
|
|
addSelfToGraph(username).then(function() |
|
|
addSelfToGraph(username).then(function() |
|
|
{ |
|
|
{ |
|
|
|
|
|
console.log("added self"); |
|
|
addFriends(username, API_FOLLOWERS).then(function() |
|
|
addFriends(username, API_FOLLOWERS).then(function() |
|
|
{ |
|
|
{ |
|
|
addFriends(username, API_FOLLOWING).then(function() |
|
|
addFriends(username, API_FOLLOWING).then(function() |
|
|