Home
last modified time | relevance | path

Searched refs:destPath (Results 1 – 2 of 2) sorted by relevance

/plugin/sequencediagram/bower_components/lodash/lib/common/
H A Dminify.js24 function minify(srcPath, destPath, callback, options) { argument
25 if (_.isFunction(destPath)) {
29 callback = destPath;
30 destPath = undefined;
32 if (!destPath) {
33 destPath = srcPath.replace(/(?=\.js$)/, '.min');
36 fs.writeFile(destPath, output.code, 'utf-8', callback);
H A Dfile.js21 function copy(srcPath, destPath) { argument
22 return _.partial(fs.copy, srcPath, destPath);
47 function min(srcPath, destPath) { argument
48 return _.partial(minify, srcPath, destPath);
60 function write(destPath, data) { argument
61 return _.partial(fs.writeFile, destPath, data);