refactor: autoreg

This commit is contained in:
cha0s 2020-06-20 19:54:48 -05:00
parent 26612ceeed
commit c8ddacd5dd

View File

@ -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');
};