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("")
}
trestletech/shinyAce documentation built on Oct. 19, 2024, 10:44 p.m.