diff --git a/lib/common/file.js b/lib/common/file.js index 9f9016fbe..879e96c66 100644 --- a/lib/common/file.js +++ b/lib/common/file.js @@ -23,7 +23,7 @@ function copy(srcPath, destPath) { } /** - * Creates an object of compiled template and base name pairs that match `pattern`. + * Creates an object of base name and compiled template pairs that match `pattern`. * * @memberOf file * @param {string} pattern The glob pattern to be match. diff --git a/lib/common/minify.js b/lib/common/minify.js index 7a0082d3e..5e536c2b5 100644 --- a/lib/common/minify.js +++ b/lib/common/minify.js @@ -13,8 +13,8 @@ var uglifyOptions = require('./uglify.options'); * invokes `callback` upon completion. The callback is invoked with one argument: * (error). * - * If unspecified, `destPath` is `srcPath` with an extension of `.min.js`. For - * example, a `srcPath` of `path/to/foo.js` would have a `destPath` of `path/to/foo.min.js`. + * If unspecified, `destPath` is `srcPath` with an extension of `.min.js`. + * (e.g. the `destPath` of `path/to/foo.js` would be `path/to/foo.min.js`) * * @param {string} srcPath The path of the file to minify. * @param {string} [destPath] The path to write the file to. diff --git a/lib/common/util.js b/lib/common/util.js index 64451862d..aadbf8412 100644 --- a/lib/common/util.js +++ b/lib/common/util.js @@ -6,10 +6,10 @@ var _ = require('lodash'); /** * Creates a hash object. If a `properties` object is provided, its own - * enumerable properties are assigned to the created object. + * enumerable properties are assigned to the created hash. * * @memberOf util - * @param {Object} [properties] The properties to assign to the object. + * @param {Object} [properties] The properties to assign to the hash. * @returns {Object} Returns the new hash object. */ function Hash(properties) {