mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
added NEWS and fixed typo
This commit is contained in:
2
NEWS.md
2
NEWS.md
@@ -7,6 +7,8 @@ shiny 1.0.3.9001
|
||||
|
||||
### New features
|
||||
|
||||
* Dynamic tabs: added four functions (`insertTab`, `removeTab`, `showTab` and `hideTab`) that allow you to do those actions for an existing tabsetPanel. ([#1794](https://github.com/rstudio/shiny/pull/1794))
|
||||
|
||||
* Added a new function, `onStop()`, which can be used to register callback functions that are invoked when an application exits, or when a user session ends. (Multiple sessions can be connected to a single running Shiny application.) This is useful if you have finalization/clean-up code that should be run after the application exits. ([#1770](https://github.com/rstudio/shiny/pull/1770)
|
||||
|
||||
### Minor new features and improvements
|
||||
|
||||
@@ -1383,7 +1383,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
var $targetTabContent = $tabContent.find("div" + dataValue);
|
||||
|
||||
if ($targetTabsetPanel.length === 0) {
|
||||
console.warn('There is no tabPanel with value ' + message.target + 'Appending tab to the end...');
|
||||
console.warn('There is no tabPanel with value ' + message.target + '. ' + 'Appending tab to the end...');
|
||||
$tabsetPanel.append($liTag);
|
||||
$tabContent.append($divTag);
|
||||
} else {
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
inst/www/shared/shiny.min.js
vendored
2
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
@@ -766,7 +766,7 @@ var ShinyApp = function() {
|
||||
var $targetTabContent = $tabContent.find("div" + dataValue);
|
||||
|
||||
if ($targetTabsetPanel.length === 0) {
|
||||
console.warn('There is no tabPanel with value ' + message.target +
|
||||
console.warn('There is no tabPanel with value ' + message.target + '. ' +
|
||||
'Appending tab to the end...');
|
||||
$tabsetPanel.append($liTag);
|
||||
$tabContent.append($divTag);
|
||||
|
||||
Reference in New Issue
Block a user