mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
This was taking a lot of time at app startup. Instad now we resolve and index only the include and exclude parts. We can still determine the valid locationSets at runtime in `locationSetsAt()` by checking the `_locationIncludedIn` and `_locationExcludedIn` caches. This also upgrades the locationManger to an ES6 class. This also includes some hacky code in nsi.js so that the NSI will continue to work. The NSI matcher can build its own location index, but it doesn't need to do this. We monkeypatch a few of the matcher collections to work with the new LocationManager.
12 lines
520 B
JavaScript
12 lines
520 B
JavaScript
export { coreContext } from './context';
|
|
export { coreFileFetcher, fileFetcher } from './file_fetcher';
|
|
export { coreDifference } from './difference';
|
|
export { coreGraph } from './graph';
|
|
export { coreHistory } from './history';
|
|
export { coreLocalizer, t, localizer } from './localizer';
|
|
export { LocationManager, locationManager } from './LocationManager';
|
|
export { prefs } from './preferences';
|
|
export { coreTree } from './tree';
|
|
export { coreUploader } from './uploader';
|
|
export { coreValidator } from './validator';
|