mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-10 17:56:15 +00:00
Added button to recommend new algorithm.
This commit is contained in:
@@ -1136,9 +1136,14 @@ Application.prototype.getAlgorithmNames = function()
|
||||
oneFactory = factory(this.graph);
|
||||
obj.name = oneFactory.getName(g_language);
|
||||
obj.id = oneFactory.getId();
|
||||
obj.priority = oneFactory.getPriority();
|
||||
res.push(obj);
|
||||
}
|
||||
|
||||
res.sort(function (a, b) {
|
||||
return a.priority > b.priority;
|
||||
});
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user