This commit is contained in:
eric sciple 2020-01-24 12:30:54 -05:00
parent 8affe1ed56
commit 760046e9f2
7278 changed files with 0 additions and 1778943 deletions

View file

@ -1,19 +0,0 @@
/*
Copyright 2012-2015, Yahoo Inc.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
const path = require('path');
module.exports = {
create(name, cfg) {
cfg = cfg || {};
let Cons;
try {
Cons = require(path.join(__dirname, 'lib', name));
} catch (e) {
Cons = require(name);
}
return new Cons(cfg);
}
};