mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
enhance(client): provide THIS_ID and THIS_URL vars to aiscript of flash
This commit is contained in:
parent
c14063a921
commit
5846198eee
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,8 @@ async function run() {
|
||||||
...registerAsUiLib(components, (_root) => {
|
...registerAsUiLib(components, (_root) => {
|
||||||
root.value = _root.value;
|
root.value = _root.value;
|
||||||
}),
|
}),
|
||||||
|
THIS_ID: values.STR(flash.id),
|
||||||
|
THIS_URL: values.STR(`${url}/play/${flash.id}`),
|
||||||
}, {
|
}, {
|
||||||
in: (q) => {
|
in: (q) => {
|
||||||
return new Promise(ok => {
|
return new Promise(ok => {
|
||||||
|
|
Loading…
Reference in a new issue