As discussed in #7, eval can be avoided in data, and so I have converted this to JSON. This is a breaking change, as JS Under #26, this functionality could be restored once plugins are implemented, with js()/js-expr() data.
Because this is a breaking change, I have made sure that the error is properly logged to console, and added error handling for HTML and JavaScript too.
As discussed in #7, eval can be avoided in data, and so I have converted this to JSON. This is a breaking change, as JS Under #26, this functionality could be restored once plugins are implemented, with
js()
/js-expr()
data.Because this is a breaking change, I have made sure that the error is properly logged to console, and added error handling for HTML and JavaScript too.