R/init.R

.global <- new.env()

initResourcePaths <- function() {
  if (is.null(.global$loaded)) {
    shiny::addResourcePath(
      prefix = 'shinyAce',
      directoryPath = system.file('www', package='shinyAce'))
    .global$loaded <- TRUE
  }
  HTML("")
}
skranz/shinyAce2 documentation built on May 30, 2019, 3:02 a.m.