jekyll-graph 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/jekyll-graph/jekyll-graph.js +2 -2
- data/lib/jekyll-graph/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f64a2319cdd80cdb634a4afb7ca8d3acd865256e433b605ec1b12ad8ea3bd90
|
4
|
+
data.tar.gz: d4c26ae5b3275d7895efd9c86b51217d049b91e9a5e5979e17098c89325bd3d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e1bd089641de720a3eeb8c94d584ea4dc8c860a7b40e9fb450b3c3f3b908a9c2306b10aabe54d759a5bf2ab17c2f557bc2694a1e4c73f754b9ff77c381c1bad
|
7
|
+
data.tar.gz: a8b70f66a8f12b02b6cdffbd34b168b3fcc1db401f702af58a44c3f492a51501df0d469ab490fb52873367d35569ab3314b5af362de5d2b6aa8d4d140898c192
|
data/CHANGELOG.md
CHANGED
@@ -8,7 +8,7 @@ export default class JekyllGraph {
|
|
8
8
|
|
9
9
|
// d3
|
10
10
|
drawNetWeb () {
|
11
|
-
let assetsPath = '{{ site.graph.
|
11
|
+
let assetsPath = '{{ site.graph.path.assets }}' !== '' ? '{{ site.graph.path.assets }}' : '/assets';
|
12
12
|
fetch(`{{ site.baseurl }}${assetsPath}/graph-net-web.json`).then(res => res.json()).then(data => {
|
13
13
|
|
14
14
|
// neighbors: replace ids with full object
|
@@ -110,7 +110,7 @@ export default class JekyllGraph {
|
|
110
110
|
}
|
111
111
|
|
112
112
|
drawTree () {
|
113
|
-
let assetsPath = '{{ site.graph.
|
113
|
+
let assetsPath = '{{ site.graph.path.assets }}' !== '' ? '{{ site.graph.path.assets }}' : '/assets';
|
114
114
|
fetch(`{{ site.baseurl }}${assetsPath}/graph-tree.json`).then(res => res.json()).then(data => {
|
115
115
|
|
116
116
|
if (this.graph) {
|
data/lib/jekyll-graph/version.rb
CHANGED