You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
288 B

  1. $(document).ready(function () {
  2. var graphList = [];
  3. if (!document.getElementById('graph-canvas')) {
  4. return;
  5. }
  6. $("#graph-raw-list li span.node-relation").each(function () {
  7. graphList.push($(this).text());
  8. })
  9. gitGraph(document.getElementById('graph-canvas'), graphList);
  10. })