added NEWS and fixed typo

This commit is contained in:
Barbara Borges Ribeiro
2017-07-14 18:29:18 +01:00
parent 2813e0b706
commit ae7f026d46
6 changed files with 7 additions and 5 deletions

View File

@@ -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

View File

@@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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);