Skip to content

Commit 1db9915

Browse files
committed
chore(gitgraph): Use CDN assets, removing need for installation
part of #696
1 parent ac55c0f commit 1db9915

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/gitgraph/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ Generating a new graph
33

44
This folder uses http://gitgraphjs.com/ for generating the git graph model.
55

6-
To generate a new one, install `gitgraph.js` via `bower`.
7-
8-
```
9-
bower install gitgraph.js
10-
```
11-
126
1. Change `patternlab-flow.js` to your needs according to the documentation on http://gitgraphjs.com/
137
2. Open branching-scheme.html in browse, right click the graph and "Save as...".
148
3. Overwrite `/.github/branching-scheme.png`
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<link rel="stylesheet" type="text/css" href="bower_components/gitgraph.js/build/gitgraph.css" />
4+
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.min.css" />
55
<style>
66
body {
77
margin: 0;
@@ -11,7 +11,7 @@
1111
</head>
1212
<body>
1313
<canvas id="gitGraph"></canvas>
14-
<script src="bower_components/gitgraph.js/build/gitgraph.js"></script>
15-
<script src="plflow.js"></script>
14+
<script src="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.min.js"></script>
15+
<script src="patternlab-flow.js"></script>
1616
</body>
1717
</head>

0 commit comments

Comments
 (0)