Skip to content

Commit eee3595

Browse files
committed
remove commented code
1 parent 5cb608f commit eee3595

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

shiny/bookmark/_bookmark.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -806,27 +806,3 @@ def on_restored(
806806
) -> CancelCallback:
807807
# Provide a no-op function within ExpressStub
808808
return lambda: None
809-
810-
811-
# #' Display a modal dialog for bookmarking
812-
# #'
813-
# #' This is a wrapper function for [urlModal()] that is automatically
814-
# #' called if an application is bookmarked but no other [onBookmark()]
815-
# #' callback was set. It displays a modal dialog with the bookmark URL, along
816-
# #' with a subtitle that is appropriate for the type of bookmarking used ("url"
817-
# #' or "server").
818-
# #'
819-
# #' @param url A URL to show in the modal dialog.
820-
# #' @export
821-
# showBookmarkUrlModal <- function(url) {
822-
# store <- getShinyOption("bookmarkStore", default = "")
823-
# if (store == "url") {
824-
# subtitle <- "This link stores the current state of this application."
825-
# } else if (store == "server") {
826-
# subtitle <- "The current state of this application has been stored on the server."
827-
# } else {
828-
# subtitle <- NULL
829-
# }
830-
831-
# showModal(urlModal(url, subtitle = subtitle))
832-
# }

0 commit comments

Comments
 (0)