I'm referring to the "executing JS on the webview from the plugin" example.
I run the above command after creating a WebUI instance. Nothing happens. The someJSFunction() doesn't exist on the web view but I'd expect some kind of error à la someJSFunction() is not a function. This appears neither in the plugin log (viewed with skpm log -f) nor in the Safari Web Inspector panes.
Where do I view the web error logs?
When creating someJSFunction, how do I add it to the web view?
I'm referring to the "executing JS on the webview from the plugin" example.
I run the above command after creating a WebUI instance. Nothing happens. The
someJSFunction()
doesn't exist on the web view but I'd expect some kind of error à lasomeJSFunction() is not a function
. This appears neither in the plugin log (viewed with skpm log -f) nor in the Safari Web Inspector panes.Where do I view the web error logs? When creating
someJSFunction
, how do I add it to the web view?