mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-10 06:35:13 -05:00
only send requried information across wire to browser for showcase mode
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
|
||||
// If this is the main Shiny window, wire up our custom message handler.
|
||||
if (window.Shiny) {
|
||||
Shiny.addCustomMessageHandler('reactlog', function(message) {
|
||||
Shiny.addCustomMessageHandler('showcase-src', function(message) {
|
||||
if (message.srcref && message.srcfile) {
|
||||
highlightSrcref(message.srcref, message.srcfile);
|
||||
}
|
||||
@@ -267,4 +267,3 @@
|
||||
if (window.hljs)
|
||||
hljs.initHighlightingOnLoad();
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user