Progress pre-master app
This commit is contained in:
1 parent
e4fc210f11
commit
50efb29724
6 files changed
+293
-497
No files matched your search
+5
-18
@@ -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]();
|
||||
}
|
||||
Reference in new issue
Block a user