diff --git a/Client/WebServer/css/docs.css b/Client/WebServer/css/docs.css index 5d9435461..8706ad100 100644 --- a/Client/WebServer/css/docs.css +++ b/Client/WebServer/css/docs.css @@ -439,4 +439,20 @@ border-top: 1px solid #dedede; .docs-info-table-alt-bg td { background-color: #f9f9f9; -} \ No newline at end of file +} + +/* Gif Image */ +.docs-gif { +max-width: 100%; +width: 100%; +border: 1px solid #dedede; +border-spacing: 1px; +} + +/* PNG Image */ +.docs-png { +max-width: 100%; +width: 100%; +border: 1px solid #dedede; +border-spacing: 1px; +} diff --git a/Client/WebServer/index.html b/Client/WebServer/index.html index 97e0210ae..f162fbdca 100644 --- a/Client/WebServer/index.html +++ b/Client/WebServer/index.html @@ -122,6 +122,7 @@ + diff --git a/Client/httpInterface.js b/Client/httpInterface.js index bb8253280..251103455 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -356,9 +356,30 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE } break - case 'Gifs': // This means the Gifs folder under Projects. + case 'GIFs': // This means the GIFs folder under Projects. { - let path = global.env.PATH_TO_PROJECTS + '/' + requestParameters[2] + '/Gifs' + let path = global.env.PATH_TO_PROJECTS + '/' + requestParameters[2] + '/GIFs' + + if (requestParameters[3] !== undefined) { + path = path + '/' + requestParameters[3] + } + + if (requestParameters[4] !== undefined) { + path = path + '/' + requestParameters[4] + } + + if (requestParameters[5] !== undefined) { + path = path + '/' + requestParameters[5] + } + + path = unescape(path) + respondWithImage(path, httpResponse) + } + break + + case 'PNGs': // This means the PNGs folder under Projects. + { + let path = global.env.PATH_TO_PROJECTS + '/' + requestParameters[2] + '/PNGs' if (requestParameters[3] !== undefined) { path = path + '/' + requestParameters[3] @@ -896,7 +917,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE let fileList = fs.readdirSync(filePath + '/Docs-Nodes') for (let k = 0; k < fileList.length; k++) { let name = fileList[k] - let fileContent = fs.readFileSync(filePath + '/Docs-Nodes/' + name ) + let fileContent = fs.readFileSync(filePath + '/Docs-Nodes/' + name) let nodeDefinition = JSON.parse(fileContent) schemaArray.push(nodeDefinition) } diff --git a/Projects/Superalgos/Gifs/trading-bot-layers-episode-counters-01.gif b/Projects/Superalgos/GIFs/Tutorials/trading-bot-layers-episode-counters-01.gif similarity index 100% rename from Projects/Superalgos/Gifs/trading-bot-layers-episode-counters-01.gif rename to Projects/Superalgos/GIFs/Tutorials/trading-bot-layers-episode-counters-01.gif diff --git a/Projects/Superalgos/Gifs/trading-bot-layers-trading-system-highlights.gif b/Projects/Superalgos/GIFs/Tutorials/trading-bot-layers-trading-system-highlights.gif similarity index 100% rename from Projects/Superalgos/Gifs/trading-bot-layers-trading-system-highlights.gif rename to Projects/Superalgos/GIFs/Tutorials/trading-bot-layers-trading-system-highlights.gif diff --git a/Projects/Superalgos/Gifs/trading-systems-candles-panel.gif b/Projects/Superalgos/GIFs/Tutorials/trading-systems-candles-panel.gif similarity index 100% rename from Projects/Superalgos/Gifs/trading-systems-candles-panel.gif rename to Projects/Superalgos/GIFs/Tutorials/trading-systems-candles-panel.gif diff --git a/Projects/Superalgos/Gifs/trading-systems-second-backtest.gif b/Projects/Superalgos/GIFs/Tutorials/trading-systems-second-backtest.gif similarity index 100% rename from Projects/Superalgos/Gifs/trading-systems-second-backtest.gif rename to Projects/Superalgos/GIFs/Tutorials/trading-systems-second-backtest.gif diff --git a/Projects/Superalgos/Gifs/trading-systems-third-backtest.gif b/Projects/Superalgos/GIFs/Tutorials/trading-systems-third-backtest.gif similarity index 100% rename from Projects/Superalgos/Gifs/trading-systems-third-backtest.gif rename to Projects/Superalgos/GIFs/Tutorials/trading-systems-third-backtest.gif diff --git a/Projects/Superalgos/Gifs/trading-systems-tracking-errors.gif b/Projects/Superalgos/GIFs/Tutorials/trading-systems-tracking-errors.gif similarity index 100% rename from Projects/Superalgos/Gifs/trading-systems-tracking-errors.gif rename to Projects/Superalgos/GIFs/Tutorials/trading-systems-tracking-errors.gif diff --git a/Projects/Superalgos/Gifs/trading-systems-trigger-stage-test.gif b/Projects/Superalgos/GIFs/Tutorials/trading-systems-trigger-stage-test.gif similarity index 100% rename from Projects/Superalgos/Gifs/trading-systems-trigger-stage-test.gif rename to Projects/Superalgos/GIFs/Tutorials/trading-systems-trigger-stage-test.gif diff --git a/Projects/Superalgos/Gifs/welcome-backtesting-trading-engine-visualization-01.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-backtesting-trading-engine-visualization-01.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-backtesting-trading-engine-visualization-01.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-backtesting-trading-engine-visualization-01.gif diff --git a/Projects/Superalgos/Gifs/welcome-backtesting-trading-engine-visualization-02.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-backtesting-trading-engine-visualization-02.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-backtesting-trading-engine-visualization-02.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-backtesting-trading-engine-visualization-02.gif diff --git a/Projects/Superalgos/Gifs/welcome-binanceus.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-binanceus.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-binanceus.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-binanceus.gif diff --git a/Projects/Superalgos/Gifs/welcome-charts-layer-managers-scroll.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-charts-layer-managers-scroll.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-charts-layer-managers-scroll.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-charts-layer-managers-scroll.gif diff --git a/Projects/Superalgos/Gifs/welcome-charts-layer-on.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-charts-layer-on.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-charts-layer-on.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-charts-layer-on.gif diff --git a/Projects/Superalgos/Gifs/welcome-charts-layer-panels.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-charts-layer-panels.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-charts-layer-panels.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-charts-layer-panels.gif diff --git a/Projects/Superalgos/Gifs/welcome-charts-scales-auto-locked.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-auto-locked.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-charts-scales-auto-locked.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-auto-locked.gif diff --git a/Projects/Superalgos/Gifs/welcome-charts-scales-time-frame-scale.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-time-frame-scale.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-charts-scales-time-frame-scale.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-time-frame-scale.gif diff --git a/Projects/Superalgos/Gifs/welcome-charts-scales-unlock-rate-scale.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-unlock-rate-scale.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-charts-scales-unlock-rate-scale.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-unlock-rate-scale.gif diff --git a/Projects/Superalgos/Gifs/welcome-charts-scales-unlock-time-scale.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-unlock-time-scale.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-charts-scales-unlock-time-scale.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-charts-scales-unlock-time-scale.gif diff --git a/Projects/Superalgos/Gifs/welcome-live-trading-binance-orders.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-binance-orders.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-live-trading-binance-orders.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-binance-orders.gif diff --git a/Projects/Superalgos/Gifs/welcome-live-trading-console.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-console.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-live-trading-console.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-console.gif diff --git a/Projects/Superalgos/Gifs/welcome-live-trading-process-progress.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-process-progress.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-live-trading-process-progress.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-process-progress.gif diff --git a/Projects/Superalgos/Gifs/welcome-live-trading-run.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-run.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-live-trading-run.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-live-trading-run.gif diff --git a/Projects/Superalgos/Gifs/welcome-start-data-mining-console.gif b/Projects/Superalgos/GIFs/Tutorials/welcome-start-data-mining-console.gif similarity index 100% rename from Projects/Superalgos/Gifs/welcome-start-data-mining-console.gif rename to Projects/Superalgos/GIFs/Tutorials/welcome-start-data-mining-console.gif diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-00.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-00.jpg new file mode 100644 index 000000000..ad1708c0c Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-00.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-01.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-01.jpg new file mode 100644 index 000000000..6edabb4bf Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-01.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-02.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-02.jpg new file mode 100644 index 000000000..6b705a5ee Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-02.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-03.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-03.jpg new file mode 100644 index 000000000..30ceb87fd Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-03.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-04.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-04.jpg new file mode 100644 index 000000000..0715c1556 Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-04.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-05.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-05.jpg new file mode 100644 index 000000000..276384978 Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-05.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-06.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-06.jpg new file mode 100644 index 000000000..cc609647f Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-06.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-07.jpg b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-07.jpg new file mode 100644 index 000000000..c37bc47d1 Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/RSI-07.jpg differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/frames-per-second-tool.png b/Projects/Superalgos/PNGs/Docs/troubleshooting/frames-per-second-tool.png new file mode 100644 index 000000000..0b6ce2a38 Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/frames-per-second-tool.png differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/log-files-01.PNG b/Projects/Superalgos/PNGs/Docs/troubleshooting/log-files-01.PNG new file mode 100644 index 000000000..a83ec2860 Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/log-files-01.PNG differ diff --git a/Projects/Superalgos/PNGs/Docs/troubleshooting/report-an-issue-01.PNG b/Projects/Superalgos/PNGs/Docs/troubleshooting/report-an-issue-01.PNG new file mode 100644 index 000000000..accb4d80e Binary files /dev/null and b/Projects/Superalgos/PNGs/Docs/troubleshooting/report-an-issue-01.PNG differ diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/data-dependency.json b/Projects/Superalgos/Schemas/Docs-Nodes/data-dependency.json index 959a3c8f4..dc330a420 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/data-dependency.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/data-dependency.json @@ -12,7 +12,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/indicators-process-dependencies-02.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/indicators-process-dependencies-02.gif" }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/execution-finished-event.json b/Projects/Superalgos/Schemas/Docs-Nodes/execution-finished-event.json index e102033c7..47d7a3e9a 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/execution-finished-event.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/execution-finished-event.json @@ -12,7 +12,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/indicators-process-execution-started-finished-events-01.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/indicators-process-execution-started-finished-events-01.gif" }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/fee-structure.json b/Projects/Superalgos/Schemas/Docs-Nodes/fee-structure.json index e9043a62d..295a56aa8 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/fee-structure.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/fee-structure.json @@ -24,7 +24,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/trading-simulation-fees-fails.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/trading-simulation-fees-fails.gif" }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/output-dataset.json b/Projects/Superalgos/Schemas/Docs-Nodes/output-dataset.json index a4a9857e1..656af17ce 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/output-dataset.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/output-dataset.json @@ -16,7 +16,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/indicators-process-output-01.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/indicators-process-output-01.gif" }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/plotter-module.json b/Projects/Superalgos/Schemas/Docs-Nodes/plotter-module.json index 80e5c2212..93867c6f9 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/plotter-module.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/plotter-module.json @@ -12,7 +12,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/plotter-module-01.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/plotter-module-01.gif" }, { "style": "Important", @@ -20,7 +20,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/plotter-module-02-product-link.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/plotter-module-02-product-link.gif" }, { "style": "Title", @@ -75,28 +75,28 @@ "text": "| :---: | :---: |" }, { - "style": "Text", - "text": "| default | |" + "style": "Png", + "text": "| default | PNGs/Superalgos/Docs/inner-foder/default-banner.png |" }, { - "style": "Text", - "text": "| histogram | |" + "style": "Png", + "text": "| histogram | PNGs/Superalgos/Docs/inner-foder/histogram-banner.png |" }, { - "style": "Text", - "text": "| band | |" + "style": "Png", + "text": "| band | PNGs/Superalgos/Docs/inner-foder/bands-banner.png |" }, { - "style": "Text", - "text": "| moving-average | |" + "style": "Png", + "text": "| moving-average | PNGs/Superalgos/Docs/inner-foder/moving-average-banner.png |" }, { - "style": "Text", - "text": "| oscillator | |" + "style": "Png", + "text": "| oscillator | PNGs/Superalgos/Docs/inner-foder/oscillator-banner.png |" }, { - "style": "Text", - "text": "| trend | |" + "style": "Png", + "text": "| trend | PNGs/Superalgos/Docs/inner-foder/trends-banner.png |" }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/polygon-vertex.json b/Projects/Superalgos/Schemas/Docs-Nodes/polygon-vertex.json index 087ff4669..2ee4b9c34 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/polygon-vertex.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/polygon-vertex.json @@ -12,7 +12,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/vertex-01-add-and-link.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/vertex-01-add-and-link.gif" }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/record-property.json b/Projects/Superalgos/Schemas/Docs-Nodes/record-property.json index 29cd3f145..e268ba16e 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/record-property.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/record-property.json @@ -64,7 +64,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/indicators-record-definitions-01.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/indicators-record-definitions-01.gif" }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/shapes.json b/Projects/Superalgos/Schemas/Docs-Nodes/shapes.json index 39d2ee5d5..e96b0c66f 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/shapes.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/shapes.json @@ -12,7 +12,7 @@ }, { "style": "Gif", - "text": "Projects/Superalgos/Docs-Gifs/shapes-01-show-off.gif" + "text": "GIFs/Superalgos/Docs/inner-foder/shapes-01-show-off.gif" }, { "style": "Text", diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index dd00f1b4b..bb346c2b0 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -67,7 +67,8 @@ function newSuperalgosDocSpace() { toSuccess: toSuccess, toList: toList, toTable: toTable, - toGif: toGif + toGif: toGif, + toPng: toPng } function editParagraph() { @@ -204,6 +205,13 @@ function newSuperalgosDocSpace() { contextMenuForceOutClick() renderPage() } + + function toPng() { + let docSchemaParagraph = docSchemaParagraphMap.get(selectedParagraph.id) + docSchemaParagraph.style = 'Png' + contextMenuForceOutClick() + renderPage() + } } function setUpMenuItemsMap() { @@ -440,7 +448,10 @@ function newSuperalgosDocSpace() { selectedParagraphData = reverseParseTable(paragraphNode.innerHTML) } if (paragraphNode.id.indexOf('-gif') >= 0) { - selectedParagraphData = reverseParseGif(paragraphNode.innerHTML) + selectedParagraphData = reverseParseGIF(paragraphNode.innerHTML) + } + if (paragraphNode.id.indexOf('-png') >= 0) { + selectedParagraphData = reverseParsePNG(paragraphNode.innerHTML) } if (paragraphNode.id.indexOf('-javascript') >= 0) { selectedParagraphData = paragraphNode.innerText.substring(1, paragraphNode.innerText.length - 1) @@ -451,6 +462,7 @@ function newSuperalgosDocSpace() { selectedParagraph = paragraphNode selectedParagraphHeight = paragraphNode.getClientRects()[0].height + if (selectedParagraphHeight < 30) {selectedParagraphHeight = 30} return true } @@ -1353,7 +1365,18 @@ function newSuperalgosDocSpace() { sufix = '' role = '' key = key + '-gif' - innerHTML = parseGif(paragraph.text) + innerHTML = parseGIF(paragraph.text) + innerHTML = addItalics(innerHTML) + innerHTML = addToolTips(innerHTML) + break + } + case 'Png': { + styleClass = '' + prefix = '' + sufix = '' + role = '' + key = key + '-png' + innerHTML = parsePNG(paragraph.text) innerHTML = addItalics(innerHTML) innerHTML = addToolTips(innerHTML) break @@ -1424,14 +1447,25 @@ function newSuperalgosDocSpace() { } } - function parseGif(text) { - return '' + function parseGIF(text) { + return '' } - function reverseParseGif(HTML) { + function reverseParseGIF(HTML) { let result = HTML - result = result.replace('', '') + result = result.replace(' ', '') + return result + } + + function parsePNG(text) { + return '' + } + + function reverseParsePNG(HTML) { + let result = HTML + result = result.replace(' ', '') return result } diff --git a/Projects/Superalgos/UI/Spaces/Tutorial-Space/TutorialSpace.js b/Projects/Superalgos/UI/Spaces/Tutorial-Space/TutorialSpace.js index 204f23358..f6e305baf 100644 --- a/Projects/Superalgos/UI/Spaces/Tutorial-Space/TutorialSpace.js +++ b/Projects/Superalgos/UI/Spaces/Tutorial-Space/TutorialSpace.js @@ -228,7 +228,7 @@ function newSuperalgosTutorialSpace() { if (currentGifName === newGifName) { return } currentGifName = newGifName - htmlGif.src = 'Gifs/' + currentNode.project + '/' + currentGifName + '.gif' + htmlGif.src = 'GIFs/' + currentNode.project + '/Tutorials/' + currentGifName + '.gif' htmlGif.width = "400" htmlGif.height = "580" }