refactor: autoreg
This commit is contained in:
parent
26612ceeed
commit
c8ddacd5dd
|
@ -1,9 +1,3 @@
|
|||
function types(scwp) {
|
||||
scwp.enterSelf();
|
||||
scwp.loadSelf('scwp/autoreg', {
|
||||
paths: scwp.paths,
|
||||
root: scwp.root,
|
||||
type: 'type-renderer',
|
||||
});
|
||||
}
|
||||
module.exports = types;
|
||||
module.exports = function types(scwp) {
|
||||
scwp.autoreg('type-renderer');
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user