stimulus-rails 0.3.6 → 0.3.7
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: 894a81fc2be7dadaf745027c04aef2cb0d637348c6e93829b10952cd976a83a9
|
4
|
+
data.tar.gz: 06ebc45e8746c0be3112feeb03852daf82cf0e1447dfcc52ad1ae3f0360325b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e58a1922f16facf066e402022ca530f6ec033f5b189503ae2f45de09708ebe9d9eefc33cc95b45a8242e37d79cabe97e643f705b87fb4f8a5e150d1f4b4f50
|
7
|
+
data.tar.gz: 16f93ddcc5e7f3b65c1d8c5ddddbf2fa55edee46ff8ac2dc788d93ac1dd559a842d09366d331321d68c9eb9edfca8ed8b6335c19471579291dc4be8c8270493c
|
@@ -2,7 +2,7 @@ import { Application } from "@hotwired/stimulus"
|
|
2
2
|
|
3
3
|
const application = Application.start()
|
4
4
|
|
5
|
-
const importmap =
|
5
|
+
const importmap = JSON.parse(document.querySelector("script[type=importmap]").text)
|
6
6
|
const importedControllerPaths = Object.keys(importmap.imports).filter((e) => e.match("controllers/"))
|
7
7
|
|
8
8
|
importedControllerPaths.forEach(function(path) {
|
data/lib/stimulus/version.rb
CHANGED