From: Nicolas Coden Date: Wed, 9 Jan 2019 21:06:43 +0000 (+0100) Subject: docs: improve docs of the "getUmdEntry" build utility X-Git-Tag: v6.6.0~3^2~44^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e422093c12d3cb686ac62d44dec18c12f05c0df;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: improve docs of the "getUmdEntry" build utility --- diff --git a/gulp/utils.js b/gulp/utils.js index 91f402f50..72dbd3e9c 100644 --- a/gulp/utils.js +++ b/gulp/utils.js @@ -5,10 +5,10 @@ function arrayClear(array) { /** * Return the import path/name of an UMD module for the given module format. * - * @param {string} name - name of the module, used if other no import path/name can be found. + * @param {string} name - name of the module, used if no other no import path/name can be found. * @param {object|string} config - external configuration. - * - If a path/name string, used as it. - * - If an object, use the property within it according to the given `format`, + * - If a string, returns it (we consider this is the path or name). + * - If an object, returns the property within it according to the given `format`, * or the "default" property. * @param {string} format - format of the module to look for, if the configuration is an object. *