From e39ec7b282a5f36d34df86364b07a68443e738fd Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 13 Nov 2021 11:19:02 +0100 Subject: [PATCH] typo --- Projects/Social-Trading/NT/Modules/Event.js | 8 ++++---- Projects/Social-Trading/NT/Modules/Signal.js | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Projects/Social-Trading/NT/Modules/Event.js b/Projects/Social-Trading/NT/Modules/Event.js index 764e77c8b..91f9b814b 100644 --- a/Projects/Social-Trading/NT/Modules/Event.js +++ b/Projects/Social-Trading/NT/Modules/Event.js @@ -114,7 +114,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() { function postingEvents() { /* - Is is related to Posting? + Is it related to Posting? */ if ( thisObject.eventType === SA.projects.socialTrading.globals.eventTypes.NEW_USER_POST || @@ -201,7 +201,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() { function followingEvents() { /* - Is is a following? + Is it a following? */ if ( thisObject.eventType === SA.projects.socialTrading.globals.eventTypes.FOLLOW_USER_PROFILE || @@ -291,7 +291,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() { function reactionEvents() { /* - Is is a Reaction? + Is it a Reaction? */ let targetPost @@ -345,7 +345,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() { function botEvents() { /* - Is is a Bot? + Is it a Bot? */ if ( thisObject.eventType === SA.projects.socialTrading.globals.eventTypes.ADD_BOT || diff --git a/Projects/Social-Trading/NT/Modules/Signal.js b/Projects/Social-Trading/NT/Modules/Signal.js index df2f6c2f0..d2d296094 100644 --- a/Projects/Social-Trading/NT/Modules/Signal.js +++ b/Projects/Social-Trading/NT/Modules/Signal.js @@ -1,10 +1,12 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal() { /* - An Signal is an action taken by users that triggers a - change at the social graph. + A Signal is an action taken by a bot that needs to be + delivered to all the followers of that bot respecting + the rule to deliver it fist to the bots belonging to + users with the highers ranking. - An Signal (in contrast to a Query) produces a change - on the state of the social graph. + An Signal is attached to the Social Graph as a new post + from the Bot producing the signal. */ let thisObject = { /* Unique Key */ @@ -114,7 +116,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal() function postingSignals() { /* - Is is related to Posting? + Is it related to Posting? */ if ( thisObject.signalType === SA.projects.socialTrading.globals.signalTypes.NEW_USER_POST || @@ -201,7 +203,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal() function followingSignals() { /* - Is is a following? + Is it a following? */ if ( thisObject.signalType === SA.projects.socialTrading.globals.signalTypes.FOLLOW_USER_PROFILE || @@ -291,7 +293,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal() function reactionSignals() { /* - Is is a Reaction? + Is it a Reaction? */ let targetPost @@ -345,7 +347,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal() function botSignals() { /* - Is is a Bot? + Is it a Bot? */ if ( thisObject.signalType === SA.projects.socialTrading.globals.signalTypes.ADD_BOT ||