Skip to content

Commit

Permalink
namespace the NS function
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Jan 8, 2021
1 parent c954587 commit 18f15f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/screenshot.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ screenshot <- function(selector = "body", filename = "shinyscreenshot", id = "",
#' @export
screenshotButton <- function(selector = "body", filename = "shinyscreenshot", id = "",
scale = 1, timer = 0, download = TRUE, server_dir = NULL,
ns = NS(NULL), ...) {
ns = shiny::NS(NULL), ...) {
params <- getParams(as.list(environment()), server = FALSE)
params$namespace <- ns("")

Expand Down
2 changes: 1 addition & 1 deletion man/screenshotButton.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18f15f8

Please sign in to comment.