jekyll_jam_comments 0.0.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cab1988147e713f97a3a754b85c2be3b10356c84165966bbe0b4c13401899801
4
- data.tar.gz: 316bce7d76454cbebcd0310fe4be6dfa00b502c10ba714406a8a0484af298096
3
+ metadata.gz: ed96118f67d15dea5569a01659a53d43d8c549d3c5ddb0d219157eb6c46bd80f
4
+ data.tar.gz: 9e3c1df5e53a48ef7c3cc5179cc3bf085f099f1f531f558a93c0b773eb81cb48
5
5
  SHA512:
6
- metadata.gz: c793a13bb427f570db98204d3f067cbf80f606a792719f37c5c9e1e91d803ccf724c07891dcd2a84872c8d5f021fa2fc5c8adc474ad706b3fd69fae4f7919b6c
7
- data.tar.gz: 1c2ae50320c3a60affec563ce048d6168320a74f891c7ff668e67f8bc6343a5705d9b2552ba3b0d7db60efcaf2ddef069106f5d6d9021f16bab9ca68e3ea338b
6
+ metadata.gz: ff97b18a9e60e384d50a9cfc018863f41f2b3365da6ee1c903fbd66fffffe8d69e5ab55cc60ae609a967df63b8e03b4e32855f8eb6d8272099cb1019e1b854c3
7
+ data.tar.gz: 2a37f45c205bc5e51d7118fe5150480cf0f6254d02c50920d57c4436e4c0a5e5ce97c20fba6180f5219939a43dae3853f5e86c11fdf1be3d4ab414b847656a63
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module JamComments
5
- VERSION = "0.0.2"
5
+ VERSION = "1.0.0"
6
6
  end
7
7
  end
@@ -9,7 +9,7 @@ module Jekyll
9
9
  class Tag < Liquid::Tag
10
10
  attr_reader :path, :markup
11
11
 
12
- CLIENT_SCRIPT_URL = "https://unpkg.com/@jam-comments/client@1.0.4/dist/index.umd.js"
12
+ CLIENT_SCRIPT_URL = "https://unpkg.com/@jam-comments/client@2.0.0-beta.2/dist/index.umd.js"
13
13
 
14
14
  def initialize(tag_name, path, tokens)
15
15
  super
@@ -25,8 +25,7 @@ module Jekyll
25
25
  #{markup}
26
26
  <script src=\"#{CLIENT_SCRIPT_URL}\"></script>
27
27
  <script>
28
- const root = document.querySelector('[data-jam-comments-component=\"shell\"]');
29
- JamComments.initialize(root);
28
+ window.JamComments.initialize(root);
30
29
  </script>
31
30
  "
32
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_jam_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex MacArthur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-07 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty