mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 06:35:20 +02:00
Add browser-polyfills, remove lodash assign, compact, values
(re: #6087)
This commit is contained in:
+1
-3
@@ -1,5 +1,3 @@
|
||||
import _values from 'lodash-es/values';
|
||||
|
||||
export { wikipedia as dataWikipedia } from 'wmf-sitematrix';
|
||||
|
||||
export { dataAddressFormats } from './address-formats.json';
|
||||
@@ -29,7 +27,7 @@ import whichPolygon from 'which-polygon';
|
||||
|
||||
|
||||
// index the osm-community-index
|
||||
var ociFeatureCollection = _values(ociFeatures).map(function(feature) {
|
||||
var ociFeatureCollection = Object.values(ociFeatures).map(function(feature) {
|
||||
// workaround for which-polygon: only supports `properties`, not `id`
|
||||
// https://github.com/mapbox/which-polygon/pull/6
|
||||
feature.properties = {
|
||||
|
||||
Reference in New Issue
Block a user