jekyll-svelte-slabs 0.0.1 → 0.0.2

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: 492e0501eea49d35d5e5d966581cac92db8dfdc277ad978551254f3a537335e9
4
- data.tar.gz: 8f71214acdef390178f451828553c8661c35f3865602220a7e8179b5c08cccb8
3
+ metadata.gz: 39eed3c72957a11917dd1a11c1ca18fa8ddcd94e4226ee917cef81891bcf5bfd
4
+ data.tar.gz: 657bdf15735eb1e37edd604688e839d5b72da30f7053f43ed12fe8df472884f5
5
5
  SHA512:
6
- metadata.gz: 6ac731620815bbb20d3a073f401670aa6452de843ea1427e59eeb4a7692c1e22c6dd86566bc2920864cfd1144fc0e9580e19a38462d48f1c7d28b84860ae922d
7
- data.tar.gz: 1f5cfd4c30ba4072940cc4c9c6ae44e5b9cf505ba4c23e7b4fe9464779573578b7c2c7e8f7b698c36b17a5d54fcef7fa92ce70ea9e1982cfb1c33dad30c37b84
6
+ metadata.gz: dbac3dc1d0aabc4507ed641984e4813f6bf97fe7d4009f806fc1b26879e77efe21fe7c3d8d65ad049780fa9df84dd4f245f45b6e19ceee22c7dee9d31d0dc9e6
7
+ data.tar.gz: 91892c74507558e3fc24af3fd39827c91f49d15f50a6d8b4950376d70b8549fe366171e4376a2d780ce3506fa01fad8bc3fd3b03fa999d4bdd9dc816a6d12c87
@@ -109,7 +109,8 @@ module JekyllSvelteSlabs
109
109
 
110
110
  <<~MSG
111
111
  <script>
112
- window["#{endpoint}"] = #{svelte_data};
112
+ window.svelteSlabs = window.svelteSlabs || {};
113
+ window.svelteSlabs["#{endpoint}"] = #{svelte_data};
113
114
  </script>
114
115
  <div data-svelte-slab="#{file}" data-svelte-slab-props="window:#{endpoint}">
115
116
  #{text}
@@ -121,4 +122,4 @@ module JekyllSvelteSlabs
121
122
 
122
123
  end
123
124
 
124
- Liquid::Template.register_tag("svelte", JekyllSvelte::Tag)
125
+ Liquid::Template.register_tag("svelte", JekyllSvelteSlabs::Tag)
@@ -1,3 +1,3 @@
1
1
  module JekyllSvelteSlabs
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-svelte-slabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Bigelow