X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=public%2Fbower_components%2Flodash%2Flib%2Fcommon%2Fminify.js;h=7a0082d3e2ecaad6961fdf105913d18df459f4ea;hb=ddf1c42620ea01cd3979f5202fa1e1170a835ca3;hp=f1abfb081608a9ef6f43e635a5322eff8956b338;hpb=c46c5ad87e08d3c4fbcf19be3ad1e32132286750;p=motion.git diff --git a/public/bower_components/lodash/lib/common/minify.js b/public/bower_components/lodash/lib/common/minify.js index f1abfb0..7a0082d 100644 --- a/public/bower_components/lodash/lib/common/minify.js +++ b/public/bower_components/lodash/lib/common/minify.js @@ -8,6 +8,19 @@ var uglifyOptions = require('./uglify.options'); /*----------------------------------------------------------------------------*/ +/** + * Asynchronously minifies the file at `srcPath`, writes it to `destPath`, and + * 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`. + * + * @param {string} srcPath The path of the file to minify. + * @param {string} [destPath] The path to write the file to. + * @param {Function} callback The function invoked upon completion. + * @param {Object} [option] The UglifyJS options object. + */ function minify(srcPath, destPath, callback, options) { if (_.isFunction(destPath)) { if (_.isObject(callback)) {