achilles 0.1.1 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e608754044dbae7232ab87fd3a22fa03442f981eee6f049e2837cca1688db921
|
4
|
+
data.tar.gz: 536cf192f098d9fb27b40da3173b43229fc5f214d029707aae59bf5bef711e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5add5c1de1c4979cd42ed1718e72e635894b356b695901ad3e51b9577b37b557f78de7b0aebc5d74375ecb2c061afc37849466c5eecbcfe4ad21460cc9049828
|
7
|
+
data.tar.gz: 568fc4e820541696e7a42be31f4a2874eff8cccb76b82502aa4ccce4a5fd7c6f6bc15213a21cdaceae59174f799e305ebae4d6c7fc56aeba32212a534eedb3f9
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
//= link_directory ../../stylesheets/achilles .css
|
2
2
|
//= link_tree ../../../javascript .js
|
@@ -17,18 +17,19 @@ class Turbo {
|
|
17
17
|
// Events registering
|
18
18
|
// Turbolinks lifecycle ref: https://sevos.io/2017/02/27/turbolinks-lifecycle-explained.html
|
19
19
|
// Render is not called on initial page load. So execute only once during page load
|
20
|
-
$(document).
|
20
|
+
$(document).on("turbo:load", () => {
|
21
|
+
console.log('[achilles] turbo load event')
|
21
22
|
this._setupCallback();
|
22
23
|
});
|
23
24
|
|
24
|
-
// Render is called before each page transition. But its not called on initial page load. That's why we need 'load'
|
25
|
-
$(document).on("turbo:render", () => {
|
26
|
-
|
27
|
-
});
|
28
|
-
|
29
|
-
$(document).on("turbo:before-render", () => {
|
30
|
-
|
31
|
-
});
|
25
|
+
// // Render is called before each page transition. But its not called on initial page load. That's why we need 'load'
|
26
|
+
// $(document).on("turbo:render", () => {
|
27
|
+
// this._setupCallback();
|
28
|
+
// });
|
29
|
+
//
|
30
|
+
// $(document).on("turbo:before-render", () => {
|
31
|
+
// this._teardownCallback();
|
32
|
+
// });
|
32
33
|
}
|
33
34
|
}
|
34
35
|
|
data/lib/achilles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: achilles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jey Geethan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
84
|
+
rubygems_version: 3.3.7
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Js library as an alternative to stimulus
|