aotrautils 0.0.442 → 0.0.443
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 +10 -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 (23/01/2023-22:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (23/01/2023-22:24:01)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -2858,11 +2858,12 @@ window.contains=function(container, objectToFind,/*OPTIONAL*/useRegexp=false,sea
|
|
|
2858
2858
|
// console.log("WARN : Container is empty ! Cannot search for «"+objectToFind+"».");
|
|
2859
2859
|
return false;
|
|
2860
2860
|
}
|
|
2861
|
-
if(!isString(container) && objectToFind && isFunction(objectToFind)){
|
|
2862
|
-
return !!foreach(container, (item, keyOrIndex)=>{
|
|
2863
|
-
if(objectToFind(item, keyOrIndex)) return true;
|
|
2864
|
-
});
|
|
2865
|
-
}else
|
|
2861
|
+
// if(!isString(container) && objectToFind && isFunction(objectToFind)){
|
|
2862
|
+
// return !!foreach(container, (item, keyOrIndex)=>{
|
|
2863
|
+
// if(objectToFind(item, keyOrIndex)) return true;
|
|
2864
|
+
// });
|
|
2865
|
+
// }else
|
|
2866
|
+
{
|
|
2866
2867
|
// Note : We also allow the search of null plain items in a container !
|
|
2867
2868
|
|
|
2868
2869
|
if(isArray(container)){
|
|
@@ -4864,7 +4865,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4864
4865
|
|
|
4865
4866
|
|
|
4866
4867
|
|
|
4867
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (23/01/2023-22:
|
|
4868
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (23/01/2023-22:24:01)»*/
|
|
4868
4869
|
/*-----------------------------------------------------------------------------*/
|
|
4869
4870
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4870
4871
|
*
|
|
@@ -12986,7 +12987,7 @@ createOritaMicroClient=function(url, port, isNode=false){
|
|
|
12986
12987
|
};
|
|
12987
12988
|
|
|
12988
12989
|
|
|
12989
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (23/01/2023-22:
|
|
12990
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (23/01/2023-22:24:01)»*/
|
|
12990
12991
|
/*-----------------------------------------------------------------------------*/
|
|
12991
12992
|
|
|
12992
12993
|
|
|
@@ -14214,7 +14215,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14214
14215
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14215
14216
|
|
|
14216
14217
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14217
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (23/01/2023-22:
|
|
14218
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (23/01/2023-22:24:01)»*/
|
|
14218
14219
|
/*-----------------------------------------------------------------------------*/
|
|
14219
14220
|
|
|
14220
14221
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.443",
|
|
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)",
|