aotrautils 0.0.1006 → 0.0.1008

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 (16/06/2024-23:22:03)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (17/06/2024-22:31:51)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -1900,7 +1900,7 @@ window.nothing=function(nullable, insist=false){
1900
1900
  return false;
1901
1901
  }
1902
1902
 
1903
- window.getOrCreateAttribute=function(parentObject, attributeNameOrAttributesName){
1903
+ window.getOrCreateSimpleObjectAttribute=function(parentObject, attributeNameOrAttributesName){
1904
1904
  if(nothing(parentObject)) return null;
1905
1905
  if(nothing(attributeNameOrAttributesName)) return parentObject;
1906
1906
  if(isString(attributeNameOrAttributesName) || (isArray(attributeNameOrAttributesName) && attributeNameOrAttributesName.length===1)){
@@ -1927,7 +1927,7 @@ window.getOrCreateAttribute=function(parentObject, attributeNameOrAttributesName
1927
1927
  parentObject[attributeName]=DEFAULT_VALUE;
1928
1928
  }
1929
1929
  const sliced=attributeNameOrAttributesName.slice(1);
1930
- let foundOrCreatedChild=getOrCreateAttribute(parentObject[attributeName], sliced);
1930
+ let foundOrCreatedChild=getOrCreateSimpleObjectAttribute(parentObject[attributeName], sliced);
1931
1931
  return foundOrCreatedChild;
1932
1932
  }
1933
1933
  return null; // (case no child found nor could be created.)
@@ -5353,7 +5353,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5353
5353
 
5354
5354
 
5355
5355
 
5356
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (16/06/2024-23:22:03)»*/
5356
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (17/06/2024-22:31:51)»*/
5357
5357
  /*-----------------------------------------------------------------------------*/
5358
5358
  /* ## Utility global methods in a browser (htmljs) client environment.
5359
5359
  *
@@ -13564,7 +13564,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13564
13564
 
13565
13565
 
13566
13566
 
13567
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (16/06/2024-23:22:03)»*/
13567
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (17/06/2024-22:31:51)»*/
13568
13568
  /*-----------------------------------------------------------------------------*/
13569
13569
 
13570
13570
 
@@ -14803,7 +14803,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14803
14803
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14804
14804
 
14805
14805
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14806
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (16/06/2024-23:22:03)»*/
14806
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (17/06/2024-22:31:51)»*/
14807
14807
  /*-----------------------------------------------------------------------------*/
14808
14808
 
14809
14809
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1006",
3
+ "version": "0.0.1008",
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)",