rails-dynamic-rendering 1.0.3 → 1.1.0
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: 8f2e8198cfc1d564847ab66612f2d669f17c50613478eddd9c551adda3a9eae3
|
4
|
+
data.tar.gz: 23100ac9a704ed470bd95fb3ed744613af56ce39e839ada8108fc5941f1d9378
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d756300b2a384f70a85949081a341422b6c9f0a6a41334727d640f7478117933ca3aa94ec592303f68aa9755e867b4b459bf1257b96f05cae30bc204138589
|
7
|
+
data.tar.gz: 93ca2a69de10af81e0ff7de82492b458112da3e34026d34e992af189d56241bf4ba9c2a6676e31146f124a32c43adce78bc3f12802c0986e3db5458949517204
|
@@ -129,7 +129,7 @@ module DynamicRendering
|
|
129
129
|
|
130
130
|
private
|
131
131
|
|
132
|
-
JAVASCRIPT_SELECTOR = 'script:not([type]), script[type="text/javascript"]'
|
132
|
+
JAVASCRIPT_SELECTOR = 'script:not([type]), script[type="text/javascript"], script[type="module"]'
|
133
133
|
|
134
134
|
def remove_javascript!
|
135
135
|
@html.css(JAVASCRIPT_SELECTOR).remove
|