R/onLoad.R

Defines functions .onLoad

#' Shiny resource
#'
#' @importFrom shiny addResourcePath registerInputHandler
#'
#' @noRd
.onLoad <- function(...) {
  shiny::addResourcePath("shufflejs", system.file("shufflejs", package = "shufflecards"))
  shiny::addResourcePath("playing-cards", system.file("css-playing-cards", package = "shufflecards"))
}
dreamRs/shufflecards documentation built on Dec. 4, 2019, 4:44 a.m.