summaryrefslogtreecommitdiff
path: root/lib/dir.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dir.js')
-rw-r--r--lib/dir.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/dir.js b/lib/dir.js
index 035e4d2..52ca709 100644
--- a/lib/dir.js
+++ b/lib/dir.js
@@ -1,15 +1,18 @@
import consoleFunc from './internal/consoleFunc';
/**
+ * ```
+ * import dir from 'async/dir'
+ * ```
* Logs the result of an `async` function to the `console` using `console.dir`
* to display the properties of the resulting object. Only works in Node.js or
* in browsers that support `console.dir` and `console.error` (such as FF and
* Chrome). If multiple arguments are returned from the async function,
* `console.dir` is called on each argument in order.
*
- * @name log
+ * @name dir
* @static
- * @memberOf module:async
+ * @memberOf module:Utils
* @method
* @category Util
* @param {Function} function - The function you want to eventually apply all