diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-15 09:27:50 +0800 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-11-14 20:27:50 -0500 |
commit | 42ada741e3360b14ede8772aa1a2dd3e83209033 (patch) | |
tree | 1091690dd254f71887ffc2ad00ff2839ebcd33c4 /public/js/draw.js | |
parent | 06a8504c784fe404bcae92028515add816383729 (diff) | |
download | gitea-42ada741e3360b14ede8772aa1a2dd3e83209033.tar.gz gitea-42ada741e3360b14ede8772aa1a2dd3e83209033.zip |
Pack web_src/js/draw.js to public/js/index.js (#8975)
* pack web_src/js/draw.js to public/js/index.js
* fix eslint
Diffstat (limited to 'public/js/draw.js')
-rw-r--r-- | public/js/draw.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/public/js/draw.js b/public/js/draw.js deleted file mode 100644 index 643ff233c0..0000000000 --- a/public/js/draw.js +++ /dev/null @@ -1,15 +0,0 @@ -/* globals gitGraph */ - -$(document).ready(function () { - const 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); -}) |