jekyll-zeta 0.10.1 → 0.10.2
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/_includes/heatmap_svg.js +10 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e1c87948ae6897df0bc56eaaed6cab3131d52424405ab375c6ef8daa428d279
|
4
|
+
data.tar.gz: d688f4b4af2e4a43592a6661cee187f33e2cc96e81ddd6f75c1581d7479aebd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b66eff8beb24796d6bc15adf640569ec4638e1801652ac14de7f3858e59c14d42904599f8d569c149a88b12ce6b384bdc36ee312bb6236f2abb1459bc5f80d1
|
7
|
+
data.tar.gz: 572b55aca932904e38ad332fec66b1b3cd714cb31818cff39e6e83dba0cd5f9e5e5c7e7901bbd5c96770b756d6e746a04ef62f70270f25055aee80e318a4753a
|
data/_includes/heatmap_svg.js
CHANGED
@@ -199,6 +199,7 @@
|
|
199
199
|
node.setAttribute('stroke-width','1')
|
200
200
|
showTip(node, idx, arrData);
|
201
201
|
};
|
202
|
+
node.onclick = node.onmouseenter
|
202
203
|
node.onmouseleave = function () {
|
203
204
|
node.setAttribute('stroke','')
|
204
205
|
node.setAttribute('stroke-width','')
|
@@ -234,6 +235,7 @@
|
|
234
235
|
node.setAttribute('stroke-width','1')
|
235
236
|
showTip(node, idx, arrData);
|
236
237
|
};
|
238
|
+
node.onclick = node.onmouseenter
|
237
239
|
node.onmouseleave = function () {
|
238
240
|
node.setAttribute('stroke','')
|
239
241
|
node.setAttribute('stroke-width','')
|
@@ -247,6 +249,7 @@
|
|
247
249
|
node.setAttribute('stroke-width','1')
|
248
250
|
showTip(node, idx, arrData);
|
249
251
|
};
|
252
|
+
node.onclick = node.onmouseenter
|
250
253
|
node.onmouseleave = function () {
|
251
254
|
node.setAttribute('stroke','')
|
252
255
|
node.setAttribute('stroke-width','')
|
@@ -390,7 +393,7 @@
|
|
390
393
|
tipState.showFlag = 0;
|
391
394
|
setTimeout(() => {
|
392
395
|
if (tipState.showFlag == 0) {
|
393
|
-
tipG.
|
396
|
+
tipG.style.display = 'none'
|
394
397
|
}
|
395
398
|
}, 50);
|
396
399
|
|
@@ -403,7 +406,8 @@
|
|
403
406
|
|
404
407
|
tipState.showFlag = 1;
|
405
408
|
tipState.idx = dayidx;
|
406
|
-
tipG.innerHTML =
|
409
|
+
tipG.innerHTML = ''
|
410
|
+
tipG.style.display = 'block'
|
407
411
|
|
408
412
|
const isEmpy = items ? 0 : 1
|
409
413
|
if(!items){
|
@@ -416,6 +420,8 @@
|
|
416
420
|
const vSpace = 10;
|
417
421
|
const lineH = 25;
|
418
422
|
const height = vSpace * 2 + lineH * count + "";
|
423
|
+
|
424
|
+
|
419
425
|
const frag = document.createDocumentFragment();
|
420
426
|
let rcbg = document.createElementNS(namespaceURI, "rect");
|
421
427
|
rcbg.setAttribute("fill", "#333333cc");
|
@@ -429,9 +435,10 @@
|
|
429
435
|
if(isEmpy)return
|
430
436
|
tipState.showFlag = 2;
|
431
437
|
};
|
438
|
+
|
432
439
|
tipG.onmouseleave = function () {
|
433
440
|
tipState.showFlag = 0;
|
434
|
-
tipG.
|
441
|
+
tipG.style.display = 'none'
|
435
442
|
};
|
436
443
|
let txtLen = 0
|
437
444
|
items.forEach((e, i) => {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-zeta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vitock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|