You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type. The w3c validator will report warnings if we do so :-(
We should only provide the type attribute when necessary. e.g in ERXJavaScript a binding type="module", when the referenced file is a javascript module
The text was updated successfully, but these errors were encountered:
Not setting the property er.extensions.ERXResponseRewriter.javascriptTypeAttribute=true did make a lot of type attributes go away. But this property does not influence the ERXJavaScript component.
Motivation:
Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type. The w3c validator will report warnings if we do so :-(
We should only provide the type attribute when necessary. e.g in ERXJavaScript a binding
type="module"
, when the referenced file is a javascript moduleThe text was updated successfully, but these errors were encountered: