diff --git a/PlatformRoot.js b/PlatformRoot.js
index f05059aa7..70a0a2310 100644
--- a/PlatformRoot.js
+++ b/PlatformRoot.js
@@ -52,8 +52,7 @@ SA.nodeModules = {
simpleGit: require('simple-git'),
lookpath: require('lookpath'),
process: require('process'),
- childProcess: require('child_process'),
- flexSearch: require("flexsearch")
+ childProcess: require('child_process')
}
/*
diff --git a/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js b/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js
index 358bc9259..5dd9e4a29 100644
--- a/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js
+++ b/Projects/Education/UI/Spaces/Docs-Space/DocumentPage.js
@@ -68,7 +68,7 @@ function newFoundationsDocsDocumentPage() {
let template = {
updated: true,
type: UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.type,
- definition: { text: "Write the definition for this " + UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.category + "." },
+ definition: {text: "Write the definition for this " + UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.category + "."},
paragraphs: [
{
style: "Text",
@@ -119,7 +119,9 @@ function newFoundationsDocsDocumentPage() {
if (UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.nodeId !== undefined) {
node = await UI.projects.foundations.spaces.designSpace.workspace.getNodeById(UI.projects.education.spaces.docsSpace.currentDocumentBeingRendered.nodeId)
}
- if (node === undefined) { return }
+ if (node === undefined) {
+ return
+ }
node.payload.floatingObject.unCollapseParent()
setTimeout(positionAtNode, 0000, node)
@@ -147,7 +149,7 @@ function newFoundationsDocsDocumentPage() {
/* Title */
let titleLabel = thisObject.docsSchemaDocument.type
- HTML = HTML + '
'
exampleCounter++
@@ -1420,7 +1464,9 @@ function newFoundationsDocsDocumentPage() {
*/
let paragraph
let key = 'auto-generated-paragraph-' + autoGeneratedParagraphIndex
- if (appSchemaDocument === undefined || appSchemaDocument.editors === undefined || appSchemaDocument.editors.formula !== true) { return }
+ if (appSchemaDocument === undefined || appSchemaDocument.editors === undefined || appSchemaDocument.editors.formula !== true) {
+ return
+ }
paragraph = {
style: "Title",
text: "" + appSchemaDocument.type + " Formula"
@@ -1434,7 +1480,9 @@ function newFoundationsDocsDocumentPage() {
renderParagraph(paragraph, key)
autoGeneratedParagraphIndex++
- if (appSchemaDocument.initialValues === undefined || appSchemaDocument.initialValues.code === undefined) { return }
+ if (appSchemaDocument.initialValues === undefined || appSchemaDocument.initialValues.code === undefined) {
+ return
+ }
paragraph = {
style: "Subtitle",
@@ -1494,8 +1542,11 @@ function newFoundationsDocsDocumentPage() {
/* Third Step: we will display the list of properties and the sample values */
let exampleCounter = 1
codeMap.forEach(displayProperty)
+
function displayProperty(code, mapKey, map) {
- if (exampleCounter > 10) { return }
+ if (exampleCounter > 10) {
+ return
+ }
HTML = HTML + '
'
HTML = HTML + '
'
exampleCounter++
@@ -1800,9 +1851,15 @@ function newFoundationsDocsDocumentPage() {
let levels = splittedParams[2]
appSchemaDocument = SCHEMAS_BY_PROJECT.get(project).map.appSchema.get(type)
- if (appSchemaDocument === undefined) { return }
- if (isNaN(levels) === true) { return }
- if (levels > MAX_COLUMNS) { return }
+ if (appSchemaDocument === undefined) {
+ return
+ }
+ if (isNaN(levels) === true) {
+ return
+ }
+ if (levels > MAX_COLUMNS) {
+ return
+ }
let contentMatrix = []
@@ -1824,7 +1881,9 @@ function newFoundationsDocsDocumentPage() {
function scanHierarchy(schemaDocument, project, currentColumn, lastChild) {
- if (schemaDocument === undefined) { return }
+ if (schemaDocument === undefined) {
+ return
+ }
currentRow++
@@ -1848,7 +1907,9 @@ function newFoundationsDocsDocumentPage() {
matrixRow[currentColumn - 1] = FORK
}
- if (schemaDocument.childrenNodesProperties === undefined) { return }
+ if (schemaDocument.childrenNodesProperties === undefined) {
+ return
+ }
for (let i = 0; i < schemaDocument.childrenNodesProperties.length; i++) {
let property = schemaDocument.childrenNodesProperties[i]
@@ -2029,7 +2090,8 @@ function newFoundationsDocsDocumentPage() {
let collapsibleElementsArray = document.getElementsByClassName("docs-collapsible-element")
for (let i = 0; i < collapsibleElementsArray.length; i++) {
- collapsibleElementsArray[i].removeEventListener("click", function () { })
+ collapsibleElementsArray[i].removeEventListener("click", function () {
+ })
}
}
diff --git a/package.json b/package.json
index 58550af44..078b30667 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,6 @@
"ethereumjs-common": "^1.5.2",
"ethereumjs-tx": "^2.1.2",
"ethers": "^5.4.7",
- "flexsearch": "^0.7.21",
"http": "0.0.1-security",
"https": "^1.0.0",
"ip": "^1.1.5",