aotrautils 0.0.548 → 0.0.550

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- /*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/07/2023-11:44:40)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/07/2023-11:53:07)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -1859,9 +1859,10 @@ window.getOrCreateAttribute=function(parentObject, attributeNameOrAttributesName
1859
1859
  // foreach(attributeNameOrAttributesName,(attributeName)=>{
1860
1860
  // const child=getOrCreateAttribute(item, attributeName, defaultValue);
1861
1861
  // });
1862
- const item=getOrCreateAttribute(parentObject, attributeNameOrAttributesName.splice(1), defaultValue);
1862
+ const item=getOrCreateAttribute(parentObject, attributeNameOrAttributesName[0], defaultValue);
1863
+ const result=getOrCreateAttribute(item, attributeNameOrAttributesName.splice(1), defaultValue);
1863
1864
 
1864
- return item;
1865
+ return result;
1865
1866
  }
1866
1867
  return parentObject;
1867
1868
  }
@@ -4953,7 +4954,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4953
4954
 
4954
4955
 
4955
4956
 
4956
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (26/07/2023-11:44:40)»*/
4957
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (26/07/2023-11:53:07)»*/
4957
4958
  /*-----------------------------------------------------------------------------*/
4958
4959
  /* ## Utility global methods in a browser (htmljs) client environment.
4959
4960
  *
@@ -13220,7 +13221,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13220
13221
 
13221
13222
 
13222
13223
 
13223
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (26/07/2023-11:44:40)»*/
13224
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (26/07/2023-11:53:07)»*/
13224
13225
  /*-----------------------------------------------------------------------------*/
13225
13226
 
13226
13227
 
@@ -14459,7 +14460,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14459
14460
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14460
14461
 
14461
14462
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14462
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (26/07/2023-11:44:40)»*/
14463
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (26/07/2023-11:53:07)»*/
14463
14464
  /*-----------------------------------------------------------------------------*/
14464
14465
 
14465
14466
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.548",
3
+ "version": "0.0.550",
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)",