From 5e422093c12d3cb686ac62d44dec18c12f05c0df Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Wed, 9 Jan 2019 22:06:43 +0100 Subject: [PATCH] docs: improve docs of the "getUmdEntry" build utility --- gulp/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. * -- 2.47.2