aotrautils 0.0.565 → 0.0.567
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 +20 -5
- 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_29072022-2359 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/08/2023-03:21:37)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -506,8 +506,23 @@ window.aotestMethods.getScenariiInTest=function(test){
|
|
|
506
506
|
|
|
507
507
|
};
|
|
508
508
|
|
|
509
|
+
// UNUSED
|
|
510
|
+
/*public*/window.aotestMethods.iterateOverValues=function(scenario, doOnIterationForValue, visited=[]){
|
|
511
|
+
|
|
512
|
+
foreach(scenario,(item, itemNameOrIndex)=>{
|
|
513
|
+
if(contains(visited,item)) return "continue";
|
|
514
|
+
visited.push(item);
|
|
515
|
+
if(isArray(item)){
|
|
516
|
+
self.iterateOverValues(item, result[itemNameOrIndex], visited);
|
|
517
|
+
}else if(isObject(item)){
|
|
518
|
+
self.iterateOverValues(item, result[itemNameOrIndex], visited);
|
|
519
|
+
}else{
|
|
520
|
+
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex);
|
|
521
|
+
}
|
|
522
|
+
});
|
|
509
523
|
|
|
510
|
-
|
|
524
|
+
};
|
|
525
|
+
|
|
511
526
|
|
|
512
527
|
|
|
513
528
|
|
|
@@ -4961,7 +4976,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4961
4976
|
|
|
4962
4977
|
|
|
4963
4978
|
|
|
4964
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
4979
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (07/08/2023-03:21:37)»*/
|
|
4965
4980
|
/*-----------------------------------------------------------------------------*/
|
|
4966
4981
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4967
4982
|
*
|
|
@@ -13228,7 +13243,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13228
13243
|
|
|
13229
13244
|
|
|
13230
13245
|
|
|
13231
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
13246
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (07/08/2023-03:21:37)»*/
|
|
13232
13247
|
/*-----------------------------------------------------------------------------*/
|
|
13233
13248
|
|
|
13234
13249
|
|
|
@@ -14467,7 +14482,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14467
14482
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14468
14483
|
|
|
14469
14484
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14470
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
14485
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (07/08/2023-03:21:37)»*/
|
|
14471
14486
|
/*-----------------------------------------------------------------------------*/
|
|
14472
14487
|
|
|
14473
14488
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.567",
|
|
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)",
|