jekyll-wns 4.1.1 β 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/jekyll-wns.gemspec +1 -1
- data/js/youtube.js +6 -5
- data/lib/jekyll-wns/assets/scene_break_tag.rb +4 -6
- 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: f642384eee2481fe29a4e457158baef1269233ad002977eb901905a6de935bb6
|
4
|
+
data.tar.gz: 768b7e9e1d03418e8ce29db6170ddff5d87d20908716a535a171a7790751a0ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250d2367ac3714527f597eab8b3e6e85580276d437d501dbdfc8a43e28a604c590a28d31075d8315379fec41bae72b5a549ce811998765a0d97d2d429e54edcf
|
7
|
+
data.tar.gz: a71808669a1e27218dc52f354120a93477c0ba0b4215a04d975ecf8b67196ccd7182c82514703cae1d8d2b2b3d1fa8f3b3bdee1b8edf58492bcbb6aab703338d
|
data/README.md
CHANGED
@@ -99,12 +99,13 @@ plugins:
|
|
99
99
|
The following snippet should be integrated into your site for the tag to properly work:
|
100
100
|
|
101
101
|
```javascript
|
102
|
-
function loadYouTube() {
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
}
|
102
|
+
function loadYouTube(e = null) {
|
103
|
+
if (e == null) return;
|
104
|
+
var i = e.target.getAttribute('data-videoid');
|
105
|
+
d.getElementById(i).innerHTML = d.getElementById('yt-' + i).innerHTML
|
107
106
|
}
|
107
|
+
|
108
|
+
$('.youtube a:last-child').on('click', loadYouTube);
|
108
109
|
```
|
109
110
|
|
110
111
|
```liquid
|
data/jekyll-wns.gemspec
CHANGED
data/js/youtube.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
function loadYouTube() {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
1
|
+
function loadYouTube(e = null) {
|
2
|
+
if (e == null) return;
|
3
|
+
var i = e.target.getAttribute('data-videoid');
|
4
|
+
d.getElementById(i).innerHTML = d.getElementById('yt-' + i).innerHTML
|
6
5
|
}
|
6
|
+
|
7
|
+
$('.youtube a:last-child').on('click', loadYouTube);
|
@@ -9,16 +9,14 @@ module WNS
|
|
9
9
|
def render(context)
|
10
10
|
case @text
|
11
11
|
when "leaves"
|
12
|
-
'<p style="text-align:center" data-mce-style="text-align:center">π π π π π π π π π π π π</p>'
|
12
|
+
'<p style="text-align:center" data-mce-style="text-align:center" aria-hidden="true">π π π π π π π π π π π π</p>'
|
13
13
|
when "wave"
|
14
|
-
'<p style="text-align:center;letter-spacing:-.13em" data-mce-style="text-align:center;letter-spacing:-.13em"
|
14
|
+
'<p style="text-align:center;letter-spacing:-.13em" data-mce-style="text-align:center;letter-spacing:-.13em" aria-hidden="true">β β‘β β‘β β‘β β‘β β‘β β‘β β‘β β‘β β‘β β‘β </p>'
|
15
15
|
when "wall"
|
16
|
-
'<p style="text-align:center;letter-spacing:-.2em" data-mce-style="text-align:center;letter-spacing:-.2em">ββββββββββββββββββββ</p>'
|
16
|
+
'<p style="text-align:center;letter-spacing:-.2em" data-mce-style="text-align:center;letter-spacing:-.2em" aria-hidden="true">ββββββββββββββββββββ</p>'
|
17
17
|
else
|
18
|
-
'<p style="text-align:center" data-mce-style="text-align:center">πΏπΎπΏπΎπΏπΎπΏπΎπΏπΎπΏπΎπΏπΎπΏ</p>'
|
18
|
+
'<p style="text-align:center" data-mce-style="text-align:center" aria-hidden="true">πΏπΎπΏπΎπΏπΎπΏπΎπΏπΎπΏπΎπΏπΎπΏ</p>'
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
|
-
|
24
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-wns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thai Chung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-mp3info
|