mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
Ensure dep.meta is an array
This commit is contained in:
@@ -1264,7 +1264,7 @@
|
||||
var $head = $("head").first();
|
||||
|
||||
if (dep.meta) {
|
||||
var metas = $.map(dep.meta, function(content, name) {
|
||||
var metas = $.map(asArray(dep.meta), function(content, name) {
|
||||
return $("<meta>").attr("name", name).attr("content", content);
|
||||
});
|
||||
$head.append(metas);
|
||||
|
||||
Reference in New Issue
Block a user