sinatra-hexacta 1.2.3 → 1.2.4

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: eb4cad061ecfb76bad43cb9ddd7bbff5240cffc5e60cde012d3b2a707ec636e4
4
- data.tar.gz: 40a5fb12a592ae6fad4c16a71c177d580599dcdc530304bc2a7e3974a470bd0a
3
+ metadata.gz: 9e90a3677be430822cfa304d87e0e2083cb678d51007eef3ee2213e3830417bd
4
+ data.tar.gz: f71c13e6243ba309c1a74e003177fb94cc258ba79864d21351a71cc8f2e61985
5
5
  SHA512:
6
- metadata.gz: 78df9443693b8841368d5433e667f20893a8567043692c11abff63ef380872c0e0dc9d496a3edb4f917523ec2decbe508c3fcb2782fd09fd165b09959922287c
7
- data.tar.gz: 9d1baf90f11d86b2494fdcb8407681368d0215b628812e1ae4e2b41ebbc920a1e52a7eb2af8d1a54f529ae97bda1a5ab30caed88eb0c1804a0c60dd8bfd8f7c0
6
+ metadata.gz: fd47cb2c5c388d0cc9f310000ce47e4ecfc178d0fdb9a23217b662df86508f0352df045a92e052d9f062e73564d03968a2344272ae45c41ded5a8eb23da40e69
7
+ data.tar.gz: f51bfabb3069961d8d77287d837494ed942a7dc81572a3ca24f1c84dafa00e6562d15d0053bb982ab1dec02400d249eaa5c914232d1ebab5a49345d0b8ab2717
@@ -5,7 +5,15 @@ script src="/sinatra-hexacta/vendors/typeahead.js/typeahead.bundle.min.js"
5
5
  script src="/sinatra-hexacta/vendors/chartist/chartist.min.js"
6
6
  script src="/sinatra-hexacta/vendors/chartist/chartist-plugin-legend.js"
7
7
 
8
-
9
8
  script src="/sinatra-hexacta/js/app.js?ver=#{settings.version}" type='text/javascript'
10
9
  script src="/sinatra-hexacta/js/finder.js?ver=#{settings.version}" type='text/javascript'
11
10
  script src="/sinatra-hexacta/js/process.js?ver=#{settings.version}" type='text/javascript'
11
+
12
+ javascript:
13
+ const storeScroll = () => {
14
+ document.documentElement.dataset.scroll = window.scrollY;
15
+ }
16
+ // Listen for new scroll events
17
+ document.addEventListener('scroll', storeScroll);
18
+ // Update scroll position for first time
19
+ storeScroll();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger