add more esms
authorEileen McNaughton <eileen@mcnaughty.com>
Thu, 11 May 2023 02:45:15 +0000 (14:45 +1200)
committerGitHub <noreply@github.com>
Thu, 11 May 2023 02:45:15 +0000 (14:45 +1200)
CRM/Core/Resources/CollectionAdderTrait.php

index 2ab04b01d00f3cc09f2f01bb2b0e549a46eab60a..42e45ed568b3cdcdae63cff262753aa5784392fb 100644 (file)
@@ -62,7 +62,7 @@ trait CRM_Core_Resources_CollectionAdderTrait {
   }
 
   /**
-   * Add an ECMAScript module to the current page (<SCRIPT TYPE=MODULE>).
+   * Add an ECMAScript module (esm) to the current page (<SCRIPT TYPE=MODULE>).
    *
    * Ex: addModule('alert("Hello world");', ['weight' => 123]);
    *
@@ -84,7 +84,7 @@ trait CRM_Core_Resources_CollectionAdderTrait {
   }
 
   /**
-   * Add an ECMAScript Module from file to the current page (<SCRIPT TYPE=MODULE SRC=...>).
+   * Add an ECMAScript Module (esm) from file to the current page (<SCRIPT TYPE=MODULE SRC=...>).
    *
    * Ex: addModuleFile('myextension', 'myscript.js', ['weight' => 123]);
    *
@@ -111,7 +111,7 @@ trait CRM_Core_Resources_CollectionAdderTrait {
   }
 
   /**
-   * Add an ECMAScript Module by URL to the current page (<SCRIPT TYPE=MODULE SRC=...>).
+   * Add an ECMAScript Module (esm) by URL to the current page (<SCRIPT TYPE=MODULE SRC=...>).
    *
    * Ex: addModuleUrl('http://example.com/foo.js', ['weight' => 123])
    *