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
Im using stimulus 2 with rails pipeline.
All works good except when opening the site on safari (im using safari 14.0.2 on mac and it happens on iphone as well)
which raises an warning Failed to autoload controller: ...
Investigating it a bit discovered that the message error is: Unexpected token '='. Expected an opening '(' before a method's parameter list
which is related to the declaration of the target
static targets = [ "addressInput" ]
removing this line it works well.
any idea how to get it working on safari?
Thanks
The text was updated successfully, but these errors were encountered:
Hello guys,
Im using stimulus 2 with rails pipeline.
All works good except when opening the site on safari (im using safari 14.0.2 on mac and it happens on iphone as well)
which raises an warning
Failed to autoload controller: ...
Investigating it a bit discovered that the message error is:
Unexpected token '='. Expected an opening '(' before a method's parameter list
which is related to the declaration of the target
removing this line it works well.
any idea how to get it working on safari?
Thanks
The text was updated successfully, but these errors were encountered: