Move the iD.data export from data/index.js to coreData

coreData now owns all the data, and data/index.js should eventually go away
(re: #4994)
This commit is contained in:
Bryan Housel
2020-02-07 09:27:23 -05:00
parent fe00a40e9a
commit 4c5e7db2dd
3 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,2 @@
export { dataLocales } from './locales.json';
export { en as dataEn } from '../dist/locales/en.json';
export let data = {};

View File

@@ -1,6 +1,7 @@
import { json as d3_json } from 'd3-fetch';
import { data as _data } from '../../data'; // prebundled data
let _data = {};
export { _data as data };
//
// The coreData module fetches data from JSON files

View File

@@ -1,5 +1,5 @@
export { coreContext } from './context';
export { coreData } from './data';
export { data, coreData } from './data';
export { coreDifference } from './difference';
export { coreGraph } from './graph';
export { coreHistory } from './history';