shiny.gosling
shiny.gosling copied to clipboard
JS errors to r
Closes #105
Changes description
- Now we are catching errors in JS and sending them to a server function
Steps to reproduce
Right now we are loading the library from a cdn. In order to test this PR before updating the file used in the CDN please do the following
- Download this and extract it to the
inst/www
folder - Edit the
goslingDependency
function incomponents.R
and replace it with the following in order to use a local version of it
goslingDependency <- function() {
htmltools::htmlDependency(
name = "gosling",
version = "0.1.0",
src = "www",
package = "shiny.gosling",
script = "gosling.js"
)
}
- Run
devtools::load_all()
- Run an example