We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf46862 commit 7d7b447Copy full SHA for 7d7b447
demo/demo.js
@@ -241,7 +241,7 @@ GraphSearch.prototype.animatePath = function(path) {
241
elementFromNode(path[i]).removeClass(css.active);
242
setTimeout(function() {
243
removeClass(path, i+1);
244
- }, timeout*path[i].cost);
+ }, timeout*path[i].getCost());
245
};
246
var setStartClass = function(path, i) {
247
if(i === path.length) {
@@ -256,7 +256,7 @@ GraphSearch.prototype.animatePath = function(path) {
256
elementFromNode(path[i]).addClass(css.active);
257
258
addClass(path, i+1);
259
260
261
262
addClass(path, 0);
0 commit comments