Data Mine Refactoring
This commit is contained in:
1 parent
77f81e1501
commit
674922c15e
6 files changed
+35
-35
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
function getNewPlotterPanel(pDevTeamOrHost, pPlotter, pModule, pPanel) {
|
||||
let functionName = pDevTeamOrHost + pPlotter + pModule + pPanel;
|
||||
function getNewPlotterPanel(pDataMineOrHost, pPlotter, pModule, pPanel) {
|
||||
let functionName = pDataMineOrHost + pPlotter + pModule + pPanel;
|
||||
functionName = functionName.replace(/-/g, "");
|
||||
functionName = 'new' + functionName
|
||||
return window[functionName]();
|
||||
|
||||
Reference in new issue
Block a user