2019-05-16 11:27:47 +05:30
|
|
|
/* globals gitGraph */
|
|
|
|
|
2016-12-29 05:14:32 +05:30
|
|
|
$(document).ready(function () {
|
|
|
|
var graphList = [];
|
2019-05-16 11:27:47 +05:30
|
|
|
|
2016-12-29 05:14:32 +05:30
|
|
|
if (!document.getElementById('graph-canvas')) {
|
|
|
|
return;
|
|
|
|
}
|
2019-05-16 11:27:47 +05:30
|
|
|
|
2016-12-29 05:14:32 +05:30
|
|
|
$("#graph-raw-list li span.node-relation").each(function () {
|
|
|
|
graphList.push($(this).text());
|
|
|
|
})
|
2019-05-16 11:27:47 +05:30
|
|
|
|
2016-12-29 05:14:32 +05:30
|
|
|
gitGraph(document.getElementById('graph-canvas'), graphList);
|
|
|
|
})
|