mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: remove Hydro.service.bus, Hydro.ui.template
This commit is contained in:
8 files changed
+193
-178
No files matched your search
@@ -5,6 +5,7 @@ import {
|
||||
} from 'hydrooj';
|
||||
import convert from 'schemastery-jsonschema';
|
||||
import markdown from './backendlib/markdown';
|
||||
import { TemplateService } from './backendlib/template';
|
||||
|
||||
class WikiHelpHandler extends Handler {
|
||||
noCheckPermView = true;
|
||||
@@ -164,6 +165,6 @@ export function apply(ctx: Context) {
|
||||
domains: SystemModel.get('ui-default.domains') || [],
|
||||
};
|
||||
});
|
||||
ctx.plugin(require('./backendlib/template'));
|
||||
ctx.plugin(TemplateService);
|
||||
ctx.plugin(require('./backendlib/builder'));
|
||||
}
|
||||
Reference in new issue
Block a user