Docs with s

This commit is contained in:
Luis Fernando Molina committed 2020-12-07 20:22:33 +01:00
1 parent 096230923d
commit ad8ba4015c
5 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -291,9 +291,9 @@
"onMouseDownIndex": 2
},
{
"name": "Doc Space",
"folderName": "Doc-Space",
"propertyName": "docSpace",
"name": "Docs Space",
"folderName": "Docs-Space",
"propertyName": "docsSpace",
"functionName": "newSuperalgosDocSpace",
"initializationIndex": 7,
"animationPhysicsIndex": 5,
@@ -635,7 +635,7 @@ function newSuperalgosActionSwitch() {
let definition = getNodeDefinition(action.node)
if (definition !== undefined) {
if (definition.docURL !== undefined) {
UI.projects.superalgos.spaces.docSpace.navigateTo(definition.docURL)
UI.projects.superalgos.spaces.docsSpace.navigateTo(definition.docURL)
} else {
let headName = UI.projects.superalgos.utilities.hierarchy.getHiriarchyHead(action.node).type
headName = headName.toLowerCase()
@@ -644,7 +644,7 @@ function newSuperalgosActionSwitch() {
nodeName = nodeName.toLowerCase()
nodeName = nodeName.split(" ").join("-")
url = UI.projects.superalgos.globals.docs.DOCUMENTATION_URL_PREFIX + "suite-hierarchy-" + headName + ".html#" + nodeName
UI.projects.superalgos.spaces.docSpace.navigateTo(url)
UI.projects.superalgos.spaces.docsSpace.navigateTo(url)
}
}
}
@@ -268,14 +268,14 @@ function newSuperalgosTutorialSpace() {
/*
This forces the tutorial to close the documentation panel and to keep it closed.
*/
UI.projects.superalgos.spaces.docSpace.sidePanelTab.close()
UI.projects.superalgos.spaces.docsSpace.sidePanelTab.close()
return
}
UI.projects.superalgos.spaces.docSpace.sidePanelTab.open()
UI.projects.superalgos.spaces.docsSpace.sidePanelTab.open()
if (newDocumentationURL === currentDocumentationURL) { return }
currentDocumentationURL = newDocumentationURL
UI.projects.superalgos.spaces.docSpace.navigateTo(currentDocumentationURL)
UI.projects.superalgos.spaces.docsSpace.navigateTo(currentDocumentationURL)
}
}
+1 -1
View File
@@ -51,7 +51,7 @@ function newCanvas() {
function finalize() {
try {
UI.projects.superalgos.spaces.tutorialSpace.finalize()
UI.projects.superalgos.spaces.docSpace.finalize()
UI.projects.superalgos.spaces.docsSpace.finalize()
//thisObject.chatSpace.finalize()
UI.projects.superalgos.spaces.sideSpace.finalize()
UI.projects.superalgos.spaces.chartingSpace.finalize()