Skip to content

Commit e830583

Browse files
committed
actually remove cloud argument from config()
1 parent 1992179 commit e830583

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/layout.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ rangeslider <- function(p, start = NULL, end = NULL, ...) {
129129
#' config(p, locale = "zh-CN")
130130
#'
131131

132-
config <- function(p, ..., cloud = FALSE, locale = NULL, mathjax = NULL) {
132+
config <- function(p, ..., locale = NULL, mathjax = NULL) {
133133

134134
if (!is.null(locale)) {
135135
p$dependencies <- c(
@@ -157,7 +157,6 @@ config <- function(p, ..., cloud = FALSE, locale = NULL, mathjax = NULL) {
157157
args <- list(...)
158158
if ("collaborate" %in% names(args)) warning("The collaborate button is no longer supported")
159159
p$x$config <- modify_list(p$x$config, args)
160-
p$x$config$cloud <- cloud
161160

162161
p
163162
}

0 commit comments

Comments
 (0)