Progress pre-master app

This commit is contained in:
Matias committed 2019-05-27 13:46:34 -03:00
1 parent e4fc210f11
commit 50efb29724
6 files changed
+293 -497

No files matched your search

+5 -18
View File
@@ -1,19 +1,6 @@
function getNewPlotterPanel(pDevTeamOrHost, pPlotter, pModule, pPanel) {
let plotterPanel;
let fullCode = pDevTeamOrHost + pPlotter + pModule + pPanel;
fullCode = fullCode.replace(/-/g, "");
switch (fullCode) {
// Cases
default:
{
throw ("getNewPlotterPanel: " + fullCode + " not found.")
}
}
return plotterPanel;
function getNewPlotterPanel(pDevTeamOrHost, pPlotter, pModule, pPanel) {
let functionName = pDevTeamOrHost + pPlotter + pModule + pPanel;
functionName = functionName.replace(/-/g, "");
functionName = 'new' + functionName
return window[functionName]();
}