mirror of
https://github.com/Wx-2025/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 05:45:51 +00:00
ci: auto build & obfuscate [2026-04-06 00:50:28] (Jenkins #7)
This commit is contained in:
22
SL/module/HanlinyuanModule.js
Normal file
22
SL/module/HanlinyuanModule.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import { Module, ModuleBuilder } from './Module.js';
|
||||
import { bindHanlinyuanEvents } from '../../ui/hanlinyuan-bindings.js';
|
||||
|
||||
const builder = new ModuleBuilder()
|
||||
.name('Hanlinyuan')
|
||||
.view('assets/amily-hanlinyuan-system/hanlinyuan.html')
|
||||
.strict(true)
|
||||
.required(['mount']);
|
||||
|
||||
export default class HanlinyuanModule extends Module {
|
||||
constructor() {
|
||||
super(builder);
|
||||
}
|
||||
|
||||
async mount() {
|
||||
if (this.el) {
|
||||
this.el.id = 'amily2_hanlinyuan_panel';
|
||||
this.el.style.display = 'none';
|
||||
}
|
||||
bindHanlinyuanEvents();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user