aotrautils-srv 0.0.548 → 0.0.549

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:58:01)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/07/2023-12:00:25)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -1859,12 +1859,12 @@ 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[0], defaultValue);
1862
+ const item=getOrCreateAttribute(item, attributeNameOrAttributesName.slice(1), defaultValue);
1863
1863
 
1864
1864
  //DBG
1865
1865
  lognow("item:",item);
1866
1866
 
1867
- const result=getOrCreateAttribute(item, attributeNameOrAttributesName.slice(1), defaultValue);
1867
+ const result=getOrCreateAttribute(parentObject, attributeNameOrAttributesName[0], defaultValue);
1868
1868
 
1869
1869
  //DBG
1870
1870
  lognow("result:",result);
@@ -4961,7 +4961,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4961
4961
 
4962
4962
 
4963
4963
 
4964
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (26/07/2023-11:58:01)»*/
4964
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (26/07/2023-12:00:25)»*/
4965
4965
  /*-----------------------------------------------------------------------------*/
4966
4966
 
4967
4967
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.548",
3
+ "version": "0.0.549",
4
4
  "main": "aotrautils-srv.build.js",
5
5
  "description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",