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
I'm putting this here for documentation as much as anything. It's not clear to me if Mozilla Rhino will ever be made ECMAscript 6 compliant or be kept up to date in general...
I've found that using therubyrhino in a rails 4.2 application on JRuby that rake assets:precompile will fail even though my javascript executes without error in the browser.
This appears to be because Mozilla Rhino is only JS 1.7 compliant, whereas my browser can execute v6.
Not sure if the solution is to have JRuby move to another Java JS engine (are there any?) or somehow make rake assets:precompile not do syntax checking, or get Mozilla Rhino updated.
The text was updated successfully, but these errors were encountered:
unfortunately, there's very little maintenance I can afford going into Rhino.
if someone lends here should definitely look into that, there's failures that might need looking into ... attempting to upgrade rhino
alternatively you can give dienashorner gem a go (uses the Nashorn JS engine available in Java 8)
I'm putting this here for documentation as much as anything. It's not clear to me if Mozilla Rhino will ever be made ECMAscript 6 compliant or be kept up to date in general...
I've found that using therubyrhino in a rails 4.2 application on JRuby that
rake assets:precompile
will fail even though my javascript executes without error in the browser.This appears to be because Mozilla Rhino is only JS 1.7 compliant, whereas my browser can execute v6.
E.g.:
Not sure if the solution is to have JRuby move to another Java JS engine (are there any?) or somehow make
rake assets:precompile
not do syntax checking, or get Mozilla Rhino updated.The text was updated successfully, but these errors were encountered: