From 152918f50085bae6daf75c9aa069e98507a7c5b3 Mon Sep 17 00:00:00 2001 From: Abhishek Sinha Date: Thu, 25 Jun 2020 23:07:40 +0530 Subject: [PATCH] finished functionalities of helpline functions --- index.html | 200 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 167 insertions(+), 33 deletions(-) diff --git a/index.html b/index.html index 11008ae..5db37de 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ //for cloud apps subAdmins: [], - application: "RUPEE_TOKEN_APP_TEST5",//rupeeTokenApp + application: "RUPEE_TOKEN_APP_TEST6",//rupeeTokenApp vectorClock: {}, appObjects: {}, generalData: {}, @@ -627,7 +627,7 @@ notify('error', 'There seems to be a problem connecting to the internet.', 'fixed', true) }) window.addEventListener('online', () => { - notify('', 'We are back online.', '', true) + notify('We are back online.','', '', true) }) // function required for popups or modals to appear class Stack { @@ -10110,6 +10110,15 @@ } } + // https://stackoverflow.com/a/21988185/5348972 + function orders_comparer(otherArray){ + return function(current){ + return otherArray.filter(function(other){ + return JSON.stringify(other.message) == JSON.stringify(current.message) + }).length == 0; + } + } +