mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
stuff
This commit is contained in:
11
R/shiny.R
11
R/shiny.R
@@ -202,11 +202,11 @@ workerId <- local({
|
||||
#' \item{\code{singletons} - for internal use}
|
||||
#' \item{\code{url_protocol}, \code{url_hostname}, \code{url_port},
|
||||
#' \code{url_pathname}, \code{url_search}, \code{url_hash_initial}
|
||||
#' and \code{url_hash} can be used to get the components of the URL
|
||||
#' that was requested by the browser to load the Shiny app page.
|
||||
#' These values are from the browser's perspective, so neither HTTP
|
||||
#' proxies nor Shiny Server will affect these values. The
|
||||
#' \code{url_search} value may be used with \code{\link{parseQueryString}}
|
||||
#' and \code{url_hash} can be used to get the components of the URL
|
||||
#' that was requested by the browser to load the Shiny app page.
|
||||
#' These values are from the browser's perspective, so neither HTTP
|
||||
#' proxies nor Shiny Server will affect these values. The
|
||||
#' \code{url_search} value may be used with \code{\link{parseQueryString}}
|
||||
#' to access query string parameters.
|
||||
#' }
|
||||
#' }
|
||||
@@ -761,6 +761,7 @@ ShinySession <- R6Class(
|
||||
sessionId = self$token
|
||||
)
|
||||
)
|
||||
if (!is.null(self$user)) self$sendUserInfo(user = self$user)
|
||||
},
|
||||
rootScope = function() {
|
||||
self
|
||||
|
||||
@@ -1236,6 +1236,10 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
||||
exports.resetBrush(message.brushId);
|
||||
});
|
||||
|
||||
addMessageHandler('user', function (message) {
|
||||
console.log(message.user);
|
||||
exports.user = message.user;
|
||||
});
|
||||
// Progress reporting ====================================================
|
||||
|
||||
var progressHandlers = {
|
||||
|
||||
File diff suppressed because one or more lines are too long
6
inst/www/shared/shiny.min.js
vendored
6
inst/www/shared/shiny.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -738,6 +738,10 @@ var ShinyApp = function() {
|
||||
exports.resetBrush(message.brushId);
|
||||
});
|
||||
|
||||
addMessageHandler('user', function(message) {
|
||||
console.log(message.user);
|
||||
exports.user = message.user;
|
||||
});
|
||||
// Progress reporting ====================================================
|
||||
|
||||
var progressHandlers = {
|
||||
|
||||
Reference in New Issue
Block a user