achilles 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/achilles/manifest.js +2 -0
- data/app/javascript/achilles/application/application.js +8 -8
- data/app/javascript/achilles/application/hooks-manager/turbo.js +10 -9
- data/app/javascript/achilles/components/component_parser.js +1 -1
- data/app/javascript/achilles/components/components_registry.js +1 -1
- data/app/javascript/achilles/page/page.js +1 -1
- data/lib/achilles/version.rb +1 -1
- metadata +4 -4
- data/app/assets/config/achilles_manifest.js +0 -1
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,11 +1,11 @@
|
|
1
|
-
import { AppConstants } from "
|
2
|
-
import { ComponentsRegistry } from "
|
3
|
-
import { ComponentParser } from "
|
4
|
-
import { ComponentsClassMapper } from "
|
5
|
-
import { Page } from "
|
6
|
-
import { Timezone } from "
|
7
|
-
import { Turbo } from "
|
8
|
-
import { Observer } from "
|
1
|
+
import { AppConstants } from "achilles/application/app_constants";
|
2
|
+
import { ComponentsRegistry } from "achilles/components/components_registry";
|
3
|
+
import { ComponentParser } from "achilles/components/component_parser";
|
4
|
+
import { ComponentsClassMapper } from "achilles/components/components_class_mapper";
|
5
|
+
import { Page } from "achilles/page/page";
|
6
|
+
import { Timezone } from "achilles/application/timezone/timezone";
|
7
|
+
import { Turbo } from "achilles/application/hooks-manager/turbo";
|
8
|
+
import { Observer } from "achilles/application/dom-mutation-observer/observer";
|
9
9
|
|
10
10
|
// Application class/obj to drive all things for the web app
|
11
11
|
class Application {
|
@@ -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
|
@@ -34,7 +34,7 @@ files:
|
|
34
34
|
- MIT-LICENSE
|
35
35
|
- README.md
|
36
36
|
- Rakefile
|
37
|
-
- app/assets/config/
|
37
|
+
- app/assets/config/achilles/manifest.js
|
38
38
|
- app/assets/stylesheets/achilles/application.css
|
39
39
|
- app/controllers/achilles/application_controller.rb
|
40
40
|
- app/helpers/achilles/application_helper.rb
|
@@ -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
|
@@ -1 +0,0 @@
|
|
1
|
-
//= link_directory ../stylesheets/achilles .css
|