From f212f570b599de6bd84423e96720f93c3732866b Mon Sep 17 00:00:00 2001 From: Neobii Date: Thu, 2 Dec 2021 23:45:50 -0600 Subject: [PATCH] "spelling check in comments for platform and network folders" --- Network/NetwokNode.js | 2 +- Platform/Client/githubServer.js | 6 +++--- Platform/Client/httpInterface.js | 4 ++-- Platform/UI/Frame.js | 2 +- Platform/WebServer/externalScripts/flexsearch.bundle.js | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Network/NetwokNode.js b/Network/NetwokNode.js index 64dcaaa88..76803aaea 100644 --- a/Network/NetwokNode.js +++ b/Network/NetwokNode.js @@ -56,7 +56,7 @@ exports.newNetworkNode = function newNetworkNode() { thisObject.socialGraphService = NT.projects.socialTrading.modules.socialGraph.newNetworkModulesSocialGraph() await thisObject.socialGraphService.initialize() /* - The Sotrage deals with persisting the Social Graph. + The Storage deals with persisting the Social Graph. */ thisObject.storage = NT.projects.socialTrading.modules.storage.newSocialTradingModulesStorage() thisObject.storage.initialize() diff --git a/Platform/Client/githubServer.js b/Platform/Client/githubServer.js index 7834e4551..687d4fbd1 100644 --- a/Platform/Client/githubServer.js +++ b/Platform/Client/githubServer.js @@ -210,7 +210,7 @@ exports.newGithubServer = function newGithubServer() { token = unescape(token) const repository = 'Superalgos' - /* Unsavping # */ + /* Unsaving # */ for (let i = 0; i < 10; i++) { commitMessage = commitMessage.replace('_SLASH_', '/') commitMessage = commitMessage.replace('_HASHTAG_', '#') @@ -366,8 +366,8 @@ exports.newGithubServer = function newGithubServer() { if (await validateUserProfileSigningAccountsDoesNotBelongtoAnotherUserProfile() === false) { continue } /* - TODO: We need to check before merging a User Profile that none of id of the node of the profile hierearchy exists at any other - User Profile already at the repository, to avoid atacts of users highjacking references of other user profiles. + TODO: We need to check before merging a User Profile that none of id of the node of the profile hierarchy exists at any other + User Profile already at the repository, to avoid attacks of users hijacking references of other user profiles. */ if (await mergePullRequest() === false) { diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 8f9724480..54fd817ca 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -1588,7 +1588,7 @@ exports.newHttpInterface = function newHttpInterface() { try { SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(error), httpResponse) } catch (err) { - // we just try to reponnd to the web app, but maybe the response has already been sent. + // we just try to respond to the web app, but maybe the response has already been sent. } } } @@ -2231,7 +2231,7 @@ exports.newHttpInterface = function newHttpInterface() { break case 'Storage': { let pathToFile = httpRequest.url.substring(9) - /* Unsavping # */ + /* Unsaving # */ for (let i = 0; i < 10; i++) { pathToFile = pathToFile.replace('_HASHTAG_', '#') } diff --git a/Platform/UI/Frame.js b/Platform/UI/Frame.js index d16d74cea..f475bb939 100644 --- a/Platform/UI/Frame.js +++ b/Platform/UI/Frame.js @@ -188,7 +188,7 @@ function newFrame() { function isThisPointHere(point, outsideViewPort, dontTransform, padding) { // The second parameter is useful when you want to check a point that you already know is outside the viewport. - // The padding is a distance to the borders of the container. Can be either negative (outside, to increase the container size) or positive (inside to decrease the cointainer size) + // The padding is a distance to the borders of the container. Can be either negative (outside, to increase the container size) or positive (inside to decrease the container size) if (padding === undefined) { padding = 0 } diff --git a/Platform/WebServer/externalScripts/flexsearch.bundle.js b/Platform/WebServer/externalScripts/flexsearch.bundle.js index dd0c08309..78d745d7b 100644 --- a/Platform/WebServer/externalScripts/flexsearch.bundle.js +++ b/Platform/WebServer/externalScripts/flexsearch.bundle.js @@ -2,7 +2,7 @@ * FlexSearch.js v0.7.2 (Bundle) * Copyright 2018-2021 Nextapps GmbH * Author: Thomas Wilkerling - * Licence: Apache-2.0 + * License: Apache-2.0 * https://github.com/nextapps-de/flexsearch */ (function _f(self){'use strict';try{if(module)self=module}catch(e){}self._factory=_f;var t;function u(a){return"undefined"!==typeof a?a:!0}function aa(a){const b=Array(a);for(let c=0;c