forked from MapComplete/MapComplete
NSI: add script to download logos and statistics, dynamically inject extra mappings, hide low-priority mappings if applicable
This commit is contained in:
parent
30d1f175c6
commit
c5b4cdf450
18 changed files with 459 additions and 114 deletions
|
|
@ -1,8 +1,9 @@
|
|||
<script lang="ts">
|
||||
import { UIEventSource } from "../../Logic/UIEventSource"
|
||||
import { Store } from "../../Logic/UIEventSource"
|
||||
import { marked } from "marked"
|
||||
export let src: string
|
||||
export let srcWritable: UIEventSource<string> = undefined
|
||||
|
||||
export let src: string = undefined
|
||||
export let srcWritable: Store<string> = undefined
|
||||
srcWritable?.addCallbackAndRunD(t => {
|
||||
src = t
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue