in src/Angara.Html/Scripts/Angara.Show.ts [52:68]
require([dsc.module], function (viewer) {
$(container).html("");
return viewer.Show(content, container);
}, function (err) {
// There are no custom viewer found for the content.
var module2 = null;
if (Array.isArray(content)) // Show it as an array?
module2 = "Seq";
else
module2 = "Record"; // Using generic viewer
require([module2], function (viewer) {
$(container).html("");
return viewer.Show(content, container);
}, function (err) {
$(container).html(errFailedToLoad(err, dsc.module)).addClass("angara-show-errormessage");
});
});