forked from MapComplete/MapComplete
Refactoring: attempting to make State smaller
This commit is contained in:
parent
a6f56acad6
commit
849c61c8a1
28 changed files with 529 additions and 485 deletions
|
@ -1,13 +1,11 @@
|
|||
/**
|
||||
* Fetches data from random data sources
|
||||
*/
|
||||
|
||||
import {UIEventSource} from "../UIEventSource";
|
||||
import * as $ from "jquery"
|
||||
|
||||
/**
|
||||
* Fetches data from random data sources, used in the metatagging
|
||||
*/
|
||||
export default class LiveQueryHandler {
|
||||
|
||||
|
||||
private static cache = {} // url --> UIEventSource<actual data>
|
||||
private static neededShorthands = {} // url -> (shorthand:paths)[]
|
||||
|
||||
public static FetchLiveData(url: string, shorthands: string[]): UIEventSource<any /* string -> string */> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue