mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
render
This commit is contained in:
parent
e166e0e185
commit
d0e73ff00c
12 changed files with 105 additions and 31 deletions
|
|
@ -1,9 +1,8 @@
|
|||
import { ZZZPlugin } from '../lib/plugin.js';
|
||||
import render from '../lib/render.js';
|
||||
import { rulePrefix } from '../lib/common.js';
|
||||
import settings from '../lib/settings.js';
|
||||
import _ from 'lodash';
|
||||
import { ZZZChallenge } from '../model/abyss.js';
|
||||
import { rulePrefix } from '../lib/common.js';
|
||||
|
||||
export class Abyss extends ZZZPlugin {
|
||||
constructor() {
|
||||
|
|
@ -42,6 +41,6 @@ export class Abyss extends ZZZPlugin {
|
|||
const finalData = {
|
||||
abyss,
|
||||
};
|
||||
await render(this.e, 'abyss/index.html', finalData, this);
|
||||
await this.render('abyss/index.html', finalData, this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue