head 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascript/head/sidebar.js +1 -1
- data/app/assets/javascript/head/wing.js +1 -1
- data/lib/head/engine.rb +1 -1
- data/lib/head/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d40b022159d002893a320ac68e135202e6406f8df5d63054ea0639f2ccc0cd6
|
|
4
|
+
data.tar.gz: 99f7a6cb41d1121d8f6d1c8cfb089248ea97378c1bdf12de6c7f680cce99c083
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ebdd214cff669e67821b3a80123ec2260dd8f0815615a815a35a133d4a451e3a930ec5c3ebe3e2a8817f66c27a5be655133cae1f7ea172caad2bc5b282e097c
|
|
7
|
+
data.tar.gz: 54ba066db077606d3e21e861a350c9bf9b549d2fb1a1eb607b2d9333a0428426a7b47490a29a4bb28f54530660b44461b7853fe80f46aa8ced4ad35ad88f77af
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
document.addEventListener('DOMContentLoaded', function() {
|
|
2
2
|
document.querySelectorAll('.js-head-sidebar__category').forEach(function (category) {
|
|
3
|
-
console.debug("Binding to Sidebar Category")
|
|
3
|
+
console.debug("[Head] Binding to Sidebar Category")
|
|
4
4
|
const href = category.getAttribute('href')
|
|
5
5
|
|
|
6
6
|
// If this category doesn't open a secondary sidebar, it is a standalone link.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
document.addEventListener('DOMContentLoaded', function() {
|
|
2
2
|
|
|
3
3
|
document.querySelectorAll('.js-head-wing__curtain').forEach(function (item) {
|
|
4
|
-
console.debug("Binding to
|
|
4
|
+
console.debug("[Head] Binding to Wing Curtain")
|
|
5
5
|
|
|
6
6
|
item.addEventListener('click', function(event) {
|
|
7
7
|
event.preventDefault()
|
data/lib/head/engine.rb
CHANGED
|
@@ -12,7 +12,7 @@ module Head
|
|
|
12
12
|
initializer 'head.importmap', before: 'importmap' do |app|
|
|
13
13
|
app.config.importmap.paths << Engine.root.join('config/importmap.rb')
|
|
14
14
|
# Watch JS changes in development
|
|
15
|
-
app.config.importmap.cache_sweepers << Engine.root.join('app/assets/
|
|
15
|
+
app.config.importmap.cache_sweepers << Engine.root.join('app/assets/javascript')
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
config.to_prepare do
|
data/lib/head/version.rb
CHANGED