Repo changed for codeName in all Plotters Configurations
This commit is contained in:
1 parent
96ea717ff9
commit
687330cc32
5 files changed
+25
-4
No files matched your search
Binary file not shown.
+14
-1
@@ -9,7 +9,9 @@ function newEcosystem() {
|
||||
getBot: getBot,
|
||||
getProduct: getProduct,
|
||||
getDataSet: getDataSet,
|
||||
getExchange: getExchange,
|
||||
getExchange: getExchange,
|
||||
getPlotter: getPlotter,
|
||||
getPlotterModule: getPlotterModule,
|
||||
initialize: initialize
|
||||
}
|
||||
|
||||
@@ -84,6 +86,17 @@ function newEcosystem() {
|
||||
}
|
||||
}
|
||||
|
||||
function getPlotterModule(pPlotter, pModuleCodeName) {
|
||||
|
||||
for (let i = 0; i < pPlotter.modules.length; i++) {
|
||||
|
||||
if (pPlotter.modules[i].codeName === pModuleCodeName) {
|
||||
|
||||
return pPlotter.modules[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getProduct(pBot, pProductCodeName) {
|
||||
|
||||
for (let i = 0; i < pBot.products.length; i++) {
|
||||
|
||||
@@ -71,6 +71,14 @@
|
||||
container.isClickeable = true;
|
||||
thisObject.container = container;
|
||||
|
||||
/* Get missing Plotter information. */
|
||||
|
||||
let team = ecosystem.getTeam(thisObject.product.plotter.devTeam);
|
||||
let plotter = ecosystem.getPlotter(team, thisObject.product.plotter.codeName);
|
||||
let plotterModule = ecosystem.getPlotterModule(plotter, thisObject.product.plotter.moduleName);
|
||||
|
||||
thisObject.product.plotter.profilePicture = plotterModule.profilePicture;
|
||||
|
||||
/* Lets set the basic dimensions of this thisObject. */
|
||||
|
||||
var position = {
|
||||
|
||||
+2
-2
@@ -104,7 +104,7 @@ function newTimelineChart() {
|
||||
|
||||
/* Now we have all the initial data loaded and ready to be delivered to the new instance of the plotter. */
|
||||
|
||||
let plotter = getNewPlotter(competition.plotter.host, competition.plotter.repo, competition.plotter.moduleName);
|
||||
let plotter = getNewPlotter(competition.plotter.host, competition.plotter.codeName, competition.plotter.moduleName);
|
||||
|
||||
plotter.container.displacement.parentDisplacement = thisObject.container.displacement;
|
||||
plotter.container.zoom.parentZoom = thisObject.container.zoom;
|
||||
@@ -204,7 +204,7 @@ function newTimelineChart() {
|
||||
|
||||
/* Now we have all the initial data loaded and ready to be delivered to the new instance of the plotter. */
|
||||
|
||||
let plotter = getNewPlotter(pProductCard.product.plotter.devTeam, pProductCard.product.plotter.repo, pProductCard.product.plotter.moduleName);
|
||||
let plotter = getNewPlotter(pProductCard.product.plotter.devTeam, pProductCard.product.plotter.codeName, pProductCard.product.plotter.moduleName);
|
||||
|
||||
plotter.container.displacement.parentDisplacement = thisObject.container.displacement;
|
||||
plotter.container.zoom.parentZoom = thisObject.container.zoom;
|
||||
|
||||
@@ -594,7 +594,7 @@ function onBrowserRequest(request, response) {
|
||||
|
||||
let caseStringCopy = caseString;
|
||||
|
||||
let newFunctionName = devTeam.codeName + plotter.repo + module.codeName;
|
||||
let newFunctionName = devTeam.codeName + plotter.codeName + module.codeName;
|
||||
newFunctionName = newFunctionName.replace(/-/g, "");
|
||||
|
||||
let stringToInsert;
|
||||
|
||||
Reference in new issue
Block a user