R/init.R

Defines functions initResourcePaths

.global <- new.env()

initResourcePaths <- function() {
  if (is.null(.global$loaded)) {
    shiny::addResourcePath(
      prefix = "shinyAce",
      directoryPath = system.file("www", package = "shinyAce")
    )
    .global$loaded <- TRUE
  }
  HTML("")
}

Try the shinyAce package in your browser

Any scripts or data that you put into this service are public.

shinyAce documentation built on May 6, 2022, 9:07 a.m.