mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
clean up JS code (1 line only)
This commit is contained in:
@@ -1349,7 +1349,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
prevTabIds.push($(this).find('> a').attr('href').replace(leadingHref, ''));
|
||||
});
|
||||
prevTabIds = prevTabIds.map(Number);
|
||||
var tabId = Math.max.apply(Math, prevTabIds) + 1;
|
||||
var tabId = Math.max.apply(null, prevTabIds) + 1;
|
||||
var thisId = "tab-" + $tabsetPanel.attr("data-tabsetid") + "-" + tabId;
|
||||
|
||||
var icon = message.icon.html;
|
||||
|
||||
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
@@ -730,7 +730,7 @@ var ShinyApp = function() {
|
||||
prevTabIds.push($(this).find('> a').attr('href').replace(leadingHref,''));
|
||||
});
|
||||
prevTabIds = prevTabIds.map(Number);
|
||||
var tabId = Math.max.apply(Math, prevTabIds) + 1;
|
||||
var tabId = Math.max.apply(null, prevTabIds) + 1;
|
||||
var thisId = "tab-" + $tabsetPanel.attr("data-tabsetid") + "-" + tabId;
|
||||
|
||||
var icon = message.icon.html;
|
||||
|
||||
Reference in New Issue
Block a user