refactor: rename.

This commit is contained in:
Rintim 2024-03-17 23:06:33 +08:00
parent 1ef8238a00
commit dd3b1b0d74
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
2 changed files with 7 additions and 3 deletions

View File

@ -122,7 +122,7 @@ export class NonameAssembly extends Array {
} }
} }
export const defaultAssemblys = { export const defaultHookcompatition = {
checkBegin: new NonameAssembly("checkBegin"), checkBegin: new NonameAssembly("checkBegin"),
checkCard: new NonameAssembly("checkCard"), checkCard: new NonameAssembly("checkCard"),
checkTarget: new NonameAssembly("checkTarget"), checkTarget: new NonameAssembly("checkTarget"),
@ -135,3 +135,7 @@ export const defaultAssemblys = {
uncheckButton: new NonameAssembly("uncheckButton"), uncheckButton: new NonameAssembly("uncheckButton"),
uncheckEnd: new NonameAssembly("uncheckEnd") uncheckEnd: new NonameAssembly("uncheckEnd")
} }
export const defaultAssemblys = {
...defaultHookcompatition
}

View File

@ -1,11 +1,11 @@
import { NonameHook } from "./hook.js" import { NonameHook } from "./hook.js"
import { defaultAssemblys } from "../assembly/index.js" import { defaultHookcompatition } from "../assembly/index.js"
export const defaultHooks = { export const defaultHooks = {
addGroup: new NonameHook("addGroup"), addGroup: new NonameHook("addGroup"),
addNature: new NonameHook("addNature"), addNature: new NonameHook("addNature"),
...defaultAssemblys ...defaultHookcompatition
} }
export { export {