mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
Also adds rounded corners to follow bootstrap style Updates fontawesome to 4.7.0 Updates bootstrap to v3.3.7 Updates jQuery to v3.1.1
18 lines
463 B
JavaScript
18 lines
463 B
JavaScript
$(document).ready(function () {
|
|
var graphList = [];
|
|
|
|
if (!document.getElementById('graph-canvas')) {
|
|
return;
|
|
}
|
|
|
|
$("#graph-raw-list li span.node-relation").each(function () {
|
|
graphList.push($(this).text());
|
|
})
|
|
|
|
gitGraph(document.getElementById('graph-canvas'), graphList);
|
|
|
|
/*if ($("#rev-container")) {
|
|
$("#rev-container").css("width", $('#git-graph-container').width() - $('#graph-canvas').width());
|
|
}*/
|
|
})
|