forked from MapComplete/MapComplete
Add documentation
This commit is contained in:
parent
1629cddaf1
commit
fe57e12881
5 changed files with 8 additions and 4 deletions
|
|
@ -53,10 +53,10 @@
|
|||
async function closeNote() {
|
||||
isProcessing.set(true)
|
||||
await state.osmConnection.closeNote(id, txt.data)
|
||||
isProcessing.set(false)
|
||||
tags.data["closed_at"] = new Date().toISOString()
|
||||
NoteCommentElement.addCommentTo(txt.data, tags, state)
|
||||
tags.ping()
|
||||
isProcessing.set(false)
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ export default class Translations {
|
|||
throw "Translations is static. If you want to intitialize a new translation, use the singular form"
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public static W(s: string | number | boolean | BaseUIElement): BaseUIElement {
|
||||
if (typeof s === "string") {
|
||||
return new FixedUiElement(s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue