mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
* convert iD.Detect() iife to a module * iD.Detect() should return loaded locale (except for 'en') (The previous code was a hack to replace the detected locale with the loaded locale. Now that Detect is a module, we can not replace the detected locale from external code, but we can have Detect() return the locale we really want)
48 lines
1.3 KiB
JavaScript
48 lines
1.3 KiB
JavaScript
import * as actions from './actions/index';
|
|
import * as behavior from './behavior/index';
|
|
import * as geo from './geo/index';
|
|
import * as modes from './modes/index';
|
|
import * as operations from './operations/index';
|
|
import * as presets from './presets/index';
|
|
import * as services from './services/index';
|
|
import * as svg from './svg/index';
|
|
import * as ui from './ui/index';
|
|
import * as util from './util/index';
|
|
import * as validations from './validations/index';
|
|
|
|
// detect
|
|
export { Detect } from './util/detect';
|
|
|
|
// core
|
|
export { Connection } from './core/connection';
|
|
export { Difference } from './core/difference';
|
|
export { Entity } from './core/entity';
|
|
export { Graph } from './core/graph';
|
|
export { History } from './core/history';
|
|
export { Node } from './core/node';
|
|
export { Relation } from './core/relation';
|
|
export { oneWayTags, pavedTags, interestingTag } from './core/tags';
|
|
export { Tree } from './core/tree';
|
|
export { Way } from './core/way';
|
|
|
|
// renderer
|
|
export { BackgroundSource } from './renderer/background_source';
|
|
export { Background } from './renderer/background';
|
|
export { Features } from './renderer/features';
|
|
export { Map } from './renderer/map';
|
|
export { TileLayer } from './renderer/tile_layer';
|
|
|
|
export {
|
|
actions,
|
|
geo,
|
|
behavior,
|
|
modes,
|
|
operations,
|
|
presets,
|
|
services,
|
|
svg,
|
|
util,
|
|
ui,
|
|
validations
|
|
};
|