Merge branch 'in-app-documentation' of https://github.com/Superalgos/Superalgos into in-app-documentation
This commit is contained in:
commit
1225a10544
14 files changed
+236
-34
No files matched your search
@@ -37,8 +37,8 @@
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Vaina 1 Hello What's up?",
|
||||
"updated": 1609084560339,
|
||||
"text": "Vaina 1 Hello What's up? Node's Type",
|
||||
"updated": 1609232016451,
|
||||
"translations": [
|
||||
{
|
||||
"language": "ES",
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "1",
|
||||
"type": "Node",
|
||||
"definition": {
|
||||
"text": "Nodes are objects that exist within workspaces and can be visualized at the Design Space. Nodes can be attached to each other forming hierarchical structures. ",
|
||||
"updated": 1609235686573
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "2",
|
||||
"type": "Node's Type",
|
||||
"definition": {
|
||||
"text": "Each Node is of a certain type. It's type defines what the Node can be used for, the Node's Menu, to which other nodes it can attach to, and may other properties that are dependent on the Node's Type At the Design Space, the type of the node is displayed below the Node's Icon. ",
|
||||
"updated": 1609236288974
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "3",
|
||||
"type": "Node's Name",
|
||||
"definition": {
|
||||
"text": "Each instance of a Node might have a user-assigned name, or a default name assigned to it by the system at the moment the Node was created. At the Design Space the name of a Node appears above the Node's Icon. ",
|
||||
"updated": 1609236312410
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "4",
|
||||
"type": "Node's Config",
|
||||
"definition": {
|
||||
"text": "Nodes might have a config -only when needed- that it is used to store information related to that node. When they do, they usually allow users to access it via one of the Node's Menu items. A Node's Config is later used by Tasks or Bots during their processing.",
|
||||
"updated": 1609236556444
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "5",
|
||||
"type": "Node's Code",
|
||||
"definition": {
|
||||
"text": "Nodes might have code inside of them. When they do, they usually allow users to access and modify it via one of the Node's Menu items. The code stored at a node is later used at Tasks or Bots during their processing.",
|
||||
"updated": 1609236689695
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "6",
|
||||
"type": "Node's Menu",
|
||||
"definition": {
|
||||
"text": "Nodes usually have a menu that allows users to interact with the node. Each Node's Type can have a different set of menu items. ",
|
||||
"updated": 1609236892270
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Each Node's Type, might have a menu which allow users to interact with the Node. There is no fixed set of menu items. Instead each menu items is defined at each Node's definition. Each menu item haave a set of properties that allow the system to execute some action when the menu item is clicked by users.",
|
||||
"updated": 1609240463871
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "7",
|
||||
"type": "Node's Children",
|
||||
"definition": {
|
||||
"text": "Nodes might have children. When they do, they usually offer the User a way to create it's children via the Node's Menu. A Node's Children might end up attached to the Parent Node, but that is not always the case.",
|
||||
"updated": 1609237042862
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "8",
|
||||
"type": "Node's Attaching Rules",
|
||||
"definition": {
|
||||
"text": "Each Node's Type can have a set of rules that defines to which Node's Type it can attach itself to.",
|
||||
"updated": 1609237513121
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "9",
|
||||
"type": "Node's Referencing Rules",
|
||||
"definition": {
|
||||
"text": "Each Node's Type can have a set of rules that defines with which Node's Type it stablish a reference.",
|
||||
"updated": 1609237566388
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "10",
|
||||
"type": "Node's Icon",
|
||||
"definition": {
|
||||
"text": "Each Node must have a icon, that is the one that represents the Node at the Desing Space.",
|
||||
"updated": 1609237637368
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "11",
|
||||
"type": "Parent Node",
|
||||
"definition": {
|
||||
"text": "The Parent Node of a certain Node A, is the Node who was used to create A. Nodes are automatically attached to their Parent Node. Not all nodes have a Parent Node.",
|
||||
"updated": 1609240097919
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Nodes",
|
||||
"pageNumber": "12",
|
||||
"type": "Reference Parent",
|
||||
"definition": {
|
||||
"text": "The Reference Parent of a certain Node A, is the node with which A stablishes a Reference.",
|
||||
"updated": 1609240205404
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -657,83 +657,104 @@ function newSuperalgosDocSpace() {
|
||||
*/
|
||||
if (paragraphNode.id.indexOf('definition-') >= 0) {
|
||||
if (paragraphNode.id.indexOf('-summary') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(9, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(9, paragraphNode.innerText.length)
|
||||
} else {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
}
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-text') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-title') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-subtitle') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-note') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(6, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(6, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-success') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(5, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(5, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-important') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(11, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(11, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-warning') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(10, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(10, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-error') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(8, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(8, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-list') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-table') >= 0) {
|
||||
selectedParagraphData = reverseParseTable(paragraphNode.innerHTML)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-hierarchy') >= 0) {
|
||||
selectedParagraphData = reverseParseHierarchy(paragraphNode.innerHTML)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-gif') >= 0) {
|
||||
selectedParagraphData = reverseParseGIF(paragraphNode.innerHTML)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-png') >= 0) {
|
||||
selectedParagraphData = reverseParsePNG(paragraphNode.innerHTML)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-javascript') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(1, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(1, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-json') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(1, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(1, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-callout') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-summary') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.substring(9, paragraphNode.innerText.length)
|
||||
selectedParagraphData = paragraphNode.innerText.trim().substring(9, paragraphNode.innerText.length)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-anchor') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-section') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-block') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-include') >= 0) {
|
||||
selectedParagraphData = paragraphNode.innerText.trim()
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-link') >= 0) {
|
||||
selectedParagraphData = reverseParseLink(paragraphNode.innerHTML)
|
||||
return true
|
||||
}
|
||||
if (paragraphNode.id.indexOf('-youtube') >= 0) {
|
||||
selectedParagraphData = reverseParseYoutube(paragraphNode.innerHTML)
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
function onOpening() {
|
||||
@@ -1636,7 +1657,7 @@ function newSuperalgosDocSpace() {
|
||||
let nodeType = pathStep[1]
|
||||
let nodeProject = pathStep[2]
|
||||
let nodeId = pathStep[3]
|
||||
let link = ' > <a onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + nodeProject + '\', \'' + result.documentIndex.category + '\', \'' + nodeType + '\', ' + undefined + ' ,\'' + nodeId + '\')" class="docs-search-result-content-record-project-category-link">'
|
||||
let link = ' > <a onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + nodeProject + '\', \'' + result.documentIndex.category + '\', \'' + nodeType.replace(/'/g, 'AMPERSAND') + '\', ' + undefined + ' ,\'' + nodeId + '\')" class="docs-search-result-content-record-project-category-link">'
|
||||
if (nodeName === 'New ' + nodeType || nodeName === 'My ' + nodeType || nodeName === undefined) {
|
||||
nodeName = ''
|
||||
}
|
||||
@@ -1658,7 +1679,7 @@ function newSuperalgosDocSpace() {
|
||||
} else {
|
||||
mainLink = result.documentIndex.docsSchemaDocument.topic + ' - Page ' + result.documentIndex.docsSchemaDocument.pageNumber + ' - ' + result.documentIndex.docsSchemaDocument.type
|
||||
}
|
||||
HTML = HTML + '<p><a onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + result.documentIndex.project + '\', \'' + result.documentIndex.category + '\', \'' + result.documentIndex.docsSchemaDocument.type + '\', ' + undefined + ' ,\'' + result.documentIndex.docsSchemaDocument.nodeId + '\')" class="docs-search-result-content-record-title">' + mainLink + '</a></p>'
|
||||
HTML = HTML + '<p><a onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + result.documentIndex.project + '\', \'' + result.documentIndex.category + '\', \'' + result.documentIndex.docsSchemaDocument.type.replace(/'/g, 'AMPERSAND') + '\', ' + undefined + ' ,\'' + result.documentIndex.docsSchemaDocument.nodeId + '\')" class="docs-search-result-content-record-title">' + mainLink + '</a></p>'
|
||||
|
||||
if (result.documentIndex.docsSchemaDocument.definition !== undefined) {
|
||||
HTML = HTML + '<p class="docs-search-result-content-record-extract">' + getTextBasedOnLanguage(result.documentIndex.docsSchemaDocument.definition) + '</p>'
|
||||
@@ -1752,7 +1773,7 @@ function newSuperalgosDocSpace() {
|
||||
objectBeingRendered = {
|
||||
project: project,
|
||||
category: category,
|
||||
type: type,
|
||||
type: type.replace('AMPERSAND', '\''),
|
||||
anchor: anchor,
|
||||
nodeId: nodeId
|
||||
}
|
||||
@@ -1769,7 +1790,7 @@ function newSuperalgosDocSpace() {
|
||||
objectBeingRendered = {
|
||||
project: project,
|
||||
category: category,
|
||||
type: type,
|
||||
type: type.replace('AMPERSAND', '\''),
|
||||
anchor: anchor,
|
||||
nodeId: nodeId
|
||||
}
|
||||
@@ -2005,7 +2026,7 @@ function newSuperalgosDocSpace() {
|
||||
text: "" + arrayItem.pageNumber + '. ' + arrayItem.type + ""
|
||||
}
|
||||
autoGeneratedParagraphIndex++
|
||||
HTML = HTML + '<p><a onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + objectBeingRendered.project + '\', \'' + 'Topic' + '\', \'' + arrayItem.type + '\')" class="docs-topic-index-link">' + paragraph.text + '</a></p>'
|
||||
HTML = HTML + '<p><a onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + objectBeingRendered.project + '\', \'' + 'Topic' + '\', \'' + arrayItem.type.replace(/'/g, 'AMPERSAND') + '\')" class="docs-topic-index-link">' + paragraph.text + '</a></p>'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2328,7 +2349,7 @@ function newSuperalgosDocSpace() {
|
||||
autoGeneratedParagraphIndex++
|
||||
paragraph = {
|
||||
style: "Text",
|
||||
text: "Each type of node, might have a menu defines so that users can interact with the node. There is no fixed set of menu items. Instead each menu item is defined at each node's definition. Each menu item defined carries a set of properties that allow the system to execute some action when the menu item is clicked by users. The " + appSchemaDocument.type + " node has the following menu items:"
|
||||
text: "The " + appSchemaDocument.type + " Node has the following Node's Menu items:"
|
||||
}
|
||||
renderParagraph(paragraph, key)
|
||||
autoGeneratedParagraphIndex++
|
||||
@@ -3682,7 +3703,7 @@ function newSuperalgosDocSpace() {
|
||||
if (definition === undefined || definition === "") {
|
||||
let tooltip = LINK_ONLY_HTML
|
||||
.replace('CATEGORY', category)
|
||||
.replace('TYPE', type)
|
||||
.replace('TYPE', type.replace(/'/g, 'AMPERSAND'))
|
||||
.replace('PROJECT', project)
|
||||
.replace('TYPE_LABEL', type)
|
||||
|
||||
@@ -3690,7 +3711,7 @@ function newSuperalgosDocSpace() {
|
||||
} else {
|
||||
let tooltip = TOOL_TIP_HTML
|
||||
.replace('CATEGORY', category)
|
||||
.replace('TYPE', type)
|
||||
.replace('TYPE', type.replace(/'/g, 'AMPERSAND'))
|
||||
.replace('PROJECT', project)
|
||||
.replace('TYPE_LABEL', type)
|
||||
.replace('DEFINITION', definition)
|
||||
@@ -3725,7 +3746,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase4 !== excludedType) {
|
||||
taggedText = taggedText + phrase4.replace(cleanPhrase4, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase4 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase4 + ' '
|
||||
taggedText = taggedText + phrase4 + ' '
|
||||
}
|
||||
i = i + 3
|
||||
found = true
|
||||
@@ -3735,7 +3756,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase3 !== excludedType) {
|
||||
taggedText = taggedText + phrase3.replace(cleanPhrase3, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase3 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase3 + ' '
|
||||
taggedText = taggedText + phrase3 + ' '
|
||||
}
|
||||
i = i + 2
|
||||
found = true
|
||||
@@ -3745,7 +3766,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase2 !== excludedType) {
|
||||
taggedText = taggedText + phrase2.replace(cleanPhrase2, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase2 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase2 + ' '
|
||||
taggedText = taggedText + phrase2 + ' '
|
||||
}
|
||||
i = i + 1
|
||||
found = true
|
||||
@@ -3755,7 +3776,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase1 !== excludedType) {
|
||||
taggedText = taggedText + phrase1.replace(cleanPhrase1, TAGGING_STRING_SEPARATOR + 'Node' + '|' + cleanPhrase1 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase1 + ' '
|
||||
taggedText = taggedText + phrase1 + ' '
|
||||
}
|
||||
found = true
|
||||
break
|
||||
@@ -3766,7 +3787,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase4 !== excludedType) {
|
||||
taggedText = taggedText + phrase4.replace(cleanPhrase4, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase4 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase4 + ' '
|
||||
taggedText = taggedText + phrase4 + ' '
|
||||
}
|
||||
i = i + 3
|
||||
found = true
|
||||
@@ -3776,7 +3797,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase3 !== excludedType) {
|
||||
taggedText = taggedText + phrase3.replace(cleanPhrase3, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase3 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase3 + ' '
|
||||
taggedText = taggedText + phrase3 + ' '
|
||||
}
|
||||
i = i + 2
|
||||
found = true
|
||||
@@ -3786,7 +3807,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase2 !== excludedType) {
|
||||
taggedText = taggedText + phrase2.replace(cleanPhrase2, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase2 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase2 + ' '
|
||||
taggedText = taggedText + phrase2 + ' '
|
||||
}
|
||||
i = i + 1
|
||||
found = true
|
||||
@@ -3796,7 +3817,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase1 !== excludedType) {
|
||||
taggedText = taggedText + phrase1.replace(cleanPhrase1, TAGGING_STRING_SEPARATOR + 'Concept' + '|' + cleanPhrase1 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase1 + ' '
|
||||
taggedText = taggedText + phrase1 + ' '
|
||||
}
|
||||
found = true
|
||||
break
|
||||
@@ -3807,7 +3828,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase4 !== excludedType) {
|
||||
taggedText = taggedText + phrase4.replace(cleanPhrase4, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase4 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase4 + ' '
|
||||
taggedText = taggedText + phrase4 + ' '
|
||||
}
|
||||
i = i + 3
|
||||
found = true
|
||||
@@ -3817,7 +3838,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase3 !== excludedType) {
|
||||
taggedText = taggedText + phrase3.replace(cleanPhrase3, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase3 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase3 + ' '
|
||||
taggedText = taggedText + phrase3 + ' '
|
||||
}
|
||||
i = i + 2
|
||||
found = true
|
||||
@@ -3827,7 +3848,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase2 !== excludedType) {
|
||||
taggedText = taggedText + phrase2.replace(cleanPhrase2, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase2 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase2 + ' '
|
||||
taggedText = taggedText + phrase2 + ' '
|
||||
}
|
||||
i = i + 1
|
||||
found = true
|
||||
@@ -3837,7 +3858,7 @@ function newSuperalgosDocSpace() {
|
||||
if (cleanPhrase1 !== excludedType) {
|
||||
taggedText = taggedText + phrase1.replace(cleanPhrase1, TAGGING_STRING_SEPARATOR + 'Topic' + '|' + cleanPhrase1 + '|' + project + TAGGING_STRING_SEPARATOR) + ' '
|
||||
} else {
|
||||
taggedText = taggedText + cleanPhrase1 + ' '
|
||||
taggedText = taggedText + phrase1 + ' '
|
||||
}
|
||||
found = true
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user