catjs
Version:
(Mobile) Web Automation Framework
19 lines (12 loc) • 389 B
JavaScript
var _path = require("path");
module.exports = function (config) {
var me = this;
if (config) {
this.type = (config.type || "*"); // * || file || folder
this.pattern = (config.pattern || undefined);
this.exclude = (config.exclude || undefined);
this.apply = function (callback) {
return callback.call(this, me);
};
}
};