Files
Superalgos/Client/WebServer/LegacyPlotter.js
T
2020-11-20 20:28:04 +01:00

7 lines
253 B
JavaScript

function getNewPlotter(pDataMineOrHost, pPlotter, pModule) {
let functionName = pDataMineOrHost + pPlotter + pModule;
functionName = functionName.replace(/-/g, "");
functionName = 'new' + functionName
return window[functionName]();
}