aotrautils 0.0.592 → 0.0.594
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 -9
- 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 (19/09/2023-00:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/09/2023-00:10:45)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -518,13 +518,26 @@ window.aotestMethods.getScenariiInTest=function(test){
|
|
|
518
518
|
|
|
519
519
|
valuePath=basePath+"."+itemNameOrIndex;
|
|
520
520
|
|
|
521
|
-
if(
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
521
|
+
if(isValueFunction){
|
|
522
|
+
if(isValueFunction(item)){
|
|
523
|
+
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
|
|
524
|
+
}else{
|
|
525
|
+
if(isArray(item)){
|
|
526
|
+
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
527
|
+
}else if(isObject(item)){
|
|
528
|
+
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
529
|
+
}else{
|
|
530
|
+
scenario[itemNameOrIndex]=item;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
525
533
|
}else{
|
|
526
|
-
if(
|
|
534
|
+
if(isArray(item)){
|
|
535
|
+
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
536
|
+
}else if(isObject(item)){
|
|
537
|
+
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
538
|
+
}else{
|
|
527
539
|
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
|
|
540
|
+
}
|
|
528
541
|
}
|
|
529
542
|
|
|
530
543
|
});
|
|
@@ -4984,7 +4997,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4984
4997
|
|
|
4985
4998
|
|
|
4986
4999
|
|
|
4987
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/09/2023-00:
|
|
5000
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/09/2023-00:10:45)»*/
|
|
4988
5001
|
/*-----------------------------------------------------------------------------*/
|
|
4989
5002
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4990
5003
|
*
|
|
@@ -13251,7 +13264,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13251
13264
|
|
|
13252
13265
|
|
|
13253
13266
|
|
|
13254
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/09/2023-00:
|
|
13267
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/09/2023-00:10:45)»*/
|
|
13255
13268
|
/*-----------------------------------------------------------------------------*/
|
|
13256
13269
|
|
|
13257
13270
|
|
|
@@ -14490,7 +14503,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14490
14503
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14491
14504
|
|
|
14492
14505
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14493
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/09/2023-00:
|
|
14506
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/09/2023-00:10:45)»*/
|
|
14494
14507
|
/*-----------------------------------------------------------------------------*/
|
|
14495
14508
|
|
|
14496
14509
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.594",
|
|
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)",
|