aotrautils 0.0.208 → 0.0.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aotrautils/aotrautils.build.js +22 -7
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (19/07/2022-03:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (19/07/2022-03:52:13)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
4830
|
|
|
4831
|
-
/*utils CLIENT library associated with aotra version : «1.0.0.000 (19/07/2022-03:
|
|
4831
|
+
/*utils CLIENT library associated with aotra version : «1.0.0.000 (19/07/2022-03:52:13)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4834
4834
|
*
|
|
@@ -11678,7 +11678,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
|
|
|
11678
11678
|
|
|
11679
11679
|
|
|
11680
11680
|
|
|
11681
|
-
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (19/07/2022-03:
|
|
11681
|
+
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (19/07/2022-03:52:13)»*/
|
|
11682
11682
|
/*-----------------------------------------------------------------------------*/
|
|
11683
11683
|
|
|
11684
11684
|
|
|
@@ -12884,7 +12884,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
12884
12884
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
12885
12885
|
|
|
12886
12886
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
12887
|
-
/*utils SERVER library associated with aotra version : «1.0.0.000 (19/07/2022-03:
|
|
12887
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (19/07/2022-03:52:13)»*/
|
|
12888
12888
|
/*-----------------------------------------------------------------------------*/
|
|
12889
12889
|
|
|
12890
12890
|
|
|
@@ -14222,7 +14222,6 @@ class ListManager{
|
|
|
14222
14222
|
const numberOfItemsCurrently=getArraySize(this.itemsInfos);
|
|
14223
14223
|
|
|
14224
14224
|
// DBG
|
|
14225
|
-
lognow(">>>>>>>>>this.itemsInfos:",this.itemsInfos);
|
|
14226
14225
|
lognow(">>>>>>>>>numberOfItemsCurrently:",numberOfItemsCurrently);
|
|
14227
14226
|
lognow(">>>>>>>>>Object.keys(arrayOfValues):",Object.keys(this.itemsInfos));
|
|
14228
14227
|
|
|
@@ -14235,6 +14234,10 @@ class ListManager{
|
|
|
14235
14234
|
|
|
14236
14235
|
|
|
14237
14236
|
if(numberOfItemsCurrently==0 && this.mode==="startAtConnexion"){
|
|
14237
|
+
|
|
14238
|
+
// DBG
|
|
14239
|
+
lognow(">>>>>>>>>START SESSION !!!!");
|
|
14240
|
+
|
|
14238
14241
|
this.startSession();
|
|
14239
14242
|
}
|
|
14240
14243
|
this.itemsInfos[id]={
|
|
@@ -14244,7 +14247,7 @@ class ListManager{
|
|
|
14244
14247
|
}
|
|
14245
14248
|
|
|
14246
14249
|
startSession(){
|
|
14247
|
-
this.time
|
|
14250
|
+
this.time=getNow();
|
|
14248
14251
|
this.started=true;
|
|
14249
14252
|
}
|
|
14250
14253
|
|
|
@@ -14253,9 +14256,21 @@ class ListManager{
|
|
|
14253
14256
|
}
|
|
14254
14257
|
|
|
14255
14258
|
isSessionActive(){
|
|
14259
|
+
|
|
14260
|
+
// DBG
|
|
14261
|
+
lognow(" !!! this.sessionDurationSeconds : "+this.sessionDurationSeconds);
|
|
14262
|
+
lognow(" !!! this.started : "+this.started);
|
|
14263
|
+
lognow(" !!! this.time : "+this.time);
|
|
14264
|
+
|
|
14265
|
+
|
|
14256
14266
|
if(!this.sessionDurationSeconds) return true;
|
|
14257
14267
|
if(!this.started) return false;
|
|
14258
|
-
|
|
14268
|
+
const result=!hasDelayPassed(this.time, this.sessionDurationSeconds*1000);
|
|
14269
|
+
|
|
14270
|
+
// DBG
|
|
14271
|
+
lognow(" !!! HAS DELAY PASSED : "+result);
|
|
14272
|
+
|
|
14273
|
+
return result;
|
|
14259
14274
|
}
|
|
14260
14275
|
|
|
14261
14276
|
isClientActive(clientId){
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.211",
|
|
4
4
|
"main": "aotrautils.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|