mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Bind tag functions to the tagFunctions object so it's easier to cross-reference tags
This commit is contained in:
parent
0eb6a0ef97
commit
5a2948d8a9
1 changed files with 4 additions and 0 deletions
|
@ -222,6 +222,10 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
return "";
|
||||
},
|
||||
};
|
||||
|
||||
for (const [name, fn] of Object.entries(this.tagFunctions)) {
|
||||
this.tagFunctions[name] = (fn as any).bind(this.tagFunctions);
|
||||
}
|
||||
}
|
||||
|
||||
onUnload() {
|
||||
|
|
Loading…
Add table
Reference in a new issue