forked from MapComplete/MapComplete
Small fixes
This commit is contained in:
parent
f548ddea84
commit
e3e6566c12
9 changed files with 91 additions and 42 deletions
14
test.ts
14
test.ts
|
@ -5,17 +5,3 @@ import {ElementStorage} from "./Logic/ElementStorage";
|
|||
import {WikipediaLink} from "./Customizations/Questions/WikipediaLink";
|
||||
import {OsmLink} from "./Customizations/Questions/OsmLink";
|
||||
|
||||
const tags = {name: "Test",
|
||||
wikipedia: "nl:Pieter",
|
||||
id: "node/-1"};
|
||||
const tagsES = new UIEventSource(tags);
|
||||
|
||||
const login = new OsmConnection(true);
|
||||
|
||||
const allElements = new ElementStorage();
|
||||
allElements.addElementById(tags.id, tagsES);
|
||||
|
||||
const changes = new Changes("Test", login, allElements)
|
||||
|
||||
|
||||
new OsmLink(tagsES, changes).AttachTo("maindiv");
|
Loading…
Add table
Add a link
Reference in a new issue