diff --git a/modules/actions/discard_tags.js b/modules/actions/discard_tags.js index 073baf98e..5338f662a 100644 --- a/modules/actions/discard_tags.js +++ b/modules/actions/discard_tags.js @@ -1,4 +1,3 @@ - export function actionDiscardTags(difference, discardTags) { discardTags = discardTags || {}; diff --git a/modules/actions/extract.js b/modules/actions/extract.js index a18bae112..aa404e76b 100644 --- a/modules/actions/extract.js +++ b/modules/actions/extract.js @@ -1,4 +1,3 @@ - import { geoPath as d3_geoPath } from 'd3-geo'; import { osmNode } from '../osm/node'; diff --git a/modules/behavior/operation.js b/modules/behavior/operation.js index c6e53bd9a..d29a26e34 100644 --- a/modules/behavior/operation.js +++ b/modules/behavior/operation.js @@ -1,5 +1,3 @@ - - /* Creates a keybinding behavior for an operation */ export function behaviorOperation(context) { var _operation; diff --git a/modules/core/preferences.js b/modules/core/preferences.js index 2a5a88378..38c5ae7e4 100644 --- a/modules/core/preferences.js +++ b/modules/core/preferences.js @@ -1,4 +1,3 @@ - // https://github.com/openstreetmap/iD/issues/772 // http://mathiasbynens.be/notes/localstorage-pattern#comment-9 let _storage; diff --git a/modules/modes/drag_note.js b/modules/modes/drag_note.js index 965578449..df1155a20 100644 --- a/modules/modes/drag_note.js +++ b/modules/modes/drag_note.js @@ -1,4 +1,3 @@ - import { services } from '../services'; import { actionNoop } from '../actions/noop'; import { behaviorDrag } from '../behavior/drag'; diff --git a/modules/operations/paste.js b/modules/operations/paste.js index 9a4428076..aa03d6d15 100644 --- a/modules/operations/paste.js +++ b/modules/operations/paste.js @@ -1,4 +1,3 @@ - import { actionCopyEntities } from '../actions/copy_entities'; import { actionMove } from '../actions/move'; import { modeSelect } from '../modes/select'; diff --git a/modules/osm/lanes.js b/modules/osm/lanes.js index 8f103ecb2..a3400f278 100644 --- a/modules/osm/lanes.js +++ b/modules/osm/lanes.js @@ -1,4 +1,3 @@ - export function osmLanes(entity) { if (entity.type !== 'way') return null; if (!entity.tags.highway) return null; diff --git a/modules/osm/qa_item.js b/modules/osm/qa_item.js index 8885f281f..e316aac18 100644 --- a/modules/osm/qa_item.js +++ b/modules/osm/qa_item.js @@ -1,4 +1,3 @@ - export class QAItem { constructor(loc, service, itemType, id, props) { // Store required properties diff --git a/modules/svg/debug.js b/modules/svg/debug.js index 3fa7edee4..12552a82f 100644 --- a/modules/svg/debug.js +++ b/modules/svg/debug.js @@ -1,4 +1,3 @@ - import { fileFetcher } from '../core/file_fetcher'; import { svgPath } from './helpers'; diff --git a/modules/svg/tag_pattern.js b/modules/svg/tag_pattern.js index 410d80e38..bdb0f99f3 100644 --- a/modules/svg/tag_pattern.js +++ b/modules/svg/tag_pattern.js @@ -1,4 +1,3 @@ - // Patterns only work in Firefox when set directly on element. // (This is not a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=750632) var patterns = { diff --git a/modules/ui/panes/background.js b/modules/ui/panes/background.js index b041668e9..eac420985 100644 --- a/modules/ui/panes/background.js +++ b/modules/ui/panes/background.js @@ -1,4 +1,3 @@ - import { t } from '../../core/localizer'; import { uiPane } from '../pane'; diff --git a/modules/ui/panes/issues.js b/modules/ui/panes/issues.js index 3313ecf09..c139ff16d 100644 --- a/modules/ui/panes/issues.js +++ b/modules/ui/panes/issues.js @@ -1,4 +1,3 @@ - import { t } from '../../core/localizer'; import { uiPane } from '../pane'; diff --git a/modules/ui/panes/map_data.js b/modules/ui/panes/map_data.js index 3708fbd80..fb1a14b75 100644 --- a/modules/ui/panes/map_data.js +++ b/modules/ui/panes/map_data.js @@ -1,4 +1,3 @@ - import { t } from '../../core/localizer'; import { uiPane } from '../pane'; diff --git a/modules/ui/panes/preferences.js b/modules/ui/panes/preferences.js index 94eb5fd83..d441a4d73 100644 --- a/modules/ui/panes/preferences.js +++ b/modules/ui/panes/preferences.js @@ -1,4 +1,3 @@ - import { t } from '../../core/localizer'; import { uiPane } from '../pane'; import { uiSectionPrivacy } from '../sections/privacy'; diff --git a/modules/util/array.js b/modules/util/array.js index b653271da..11fa1a5e9 100644 --- a/modules/util/array.js +++ b/modules/util/array.js @@ -1,4 +1,3 @@ - // Returns true if a and b have the same elements at the same indices. export function utilArrayIdentical(a, b) { // an array is always identical to itself diff --git a/modules/util/detect.js b/modules/util/detect.js index dcab931d1..ee0b48896 100644 --- a/modules/util/detect.js +++ b/modules/util/detect.js @@ -1,4 +1,3 @@ - let _detected; export function utilDetect(refresh) { diff --git a/modules/util/object.js b/modules/util/object.js index dec54a6ff..e83ca5e51 100644 --- a/modules/util/object.js +++ b/modules/util/object.js @@ -1,4 +1,3 @@ - export function utilObjectOmit(obj, omitKeys) { return Object.keys(obj).reduce(function(result, key) { if (omitKeys.indexOf(key) === -1) {