diff --git a/lib/Core/GoogleAnalytics.ts b/lib/Core/GoogleAnalytics.ts index 9929f72f6f9..c69e386b398 100644 --- a/lib/Core/GoogleAnalytics.ts +++ b/lib/Core/GoogleAnalytics.ts @@ -1,4 +1,3 @@ -"use strict"; import i18next from "i18next"; import ReactGA from "react-ga4"; diff --git a/lib/Core/TerriaError.ts b/lib/Core/TerriaError.ts index 0e4b23afd2e..8c98ed1d073 100644 --- a/lib/Core/TerriaError.ts +++ b/lib/Core/TerriaError.ts @@ -1,4 +1,3 @@ -"use strict"; import i18next from "i18next"; import { observable, makeObservable } from "mobx"; diff --git a/lib/Core/flatten.ts b/lib/Core/flatten.ts index 079deb703e3..7c58015d229 100644 --- a/lib/Core/flatten.ts +++ b/lib/Core/flatten.ts @@ -1,4 +1,3 @@ -"use strict"; /** * Flattens an array of arrays, into an array, eg. [[0, 1], [2, 3], [4, 5]] => [0, 1, 2, 3, 4, 5]. diff --git a/lib/Core/flattenNested.ts b/lib/Core/flattenNested.ts index 091dad03975..5106f190800 100644 --- a/lib/Core/flattenNested.ts +++ b/lib/Core/flattenNested.ts @@ -1,4 +1,3 @@ -"use strict"; type NestedArray = NestedArray[] | T[]; diff --git a/lib/Map/Vector/computeRingWindingOrder.ts b/lib/Map/Vector/computeRingWindingOrder.ts index f929c383429..8b49b81b794 100644 --- a/lib/Map/Vector/computeRingWindingOrder.ts +++ b/lib/Map/Vector/computeRingWindingOrder.ts @@ -1,4 +1,3 @@ -"use strict"; import i18next from "i18next"; import WindingOrder from "terriajs-cesium/Source/Core/WindingOrder"; diff --git a/lib/Models/Catalog/proxyCatalogItemUrl.ts b/lib/Models/Catalog/proxyCatalogItemUrl.ts index de05080ed7a..593a9a16ac0 100644 --- a/lib/Models/Catalog/proxyCatalogItemUrl.ts +++ b/lib/Models/Catalog/proxyCatalogItemUrl.ts @@ -1,4 +1,3 @@ -"use strict"; import defaultValue from "terriajs-cesium/Source/Core/defaultValue"; import isDefined from "../../Core/isDefined"; diff --git a/lib/ReactViews/Custom/Chart/ChartPanelDownloadButton.tsx b/lib/ReactViews/Custom/Chart/ChartPanelDownloadButton.tsx index 20bb45d247c..40e74e99fa6 100644 --- a/lib/ReactViews/Custom/Chart/ChartPanelDownloadButton.tsx +++ b/lib/ReactViews/Custom/Chart/ChartPanelDownloadButton.tsx @@ -1,4 +1,3 @@ -"use strict"; import FileSaver from "file-saver"; import { runInAction, toJS } from "mobx"; import { observer } from "mobx-react"; diff --git a/lib/ReactViews/Custom/Collapsible/Collapsible.tsx b/lib/ReactViews/Custom/Collapsible/Collapsible.tsx index 62a566d19ac..8ddca604dc3 100644 --- a/lib/ReactViews/Custom/Collapsible/Collapsible.tsx +++ b/lib/ReactViews/Custom/Collapsible/Collapsible.tsx @@ -1,4 +1,3 @@ -"use strict"; import { observer } from "mobx-react"; import React, { useEffect, useState } from "react"; diff --git a/lib/ReactViews/Custom/registerCustomComponentTypes.ts b/lib/ReactViews/Custom/registerCustomComponentTypes.ts index df3ef59552d..287b8b2c27e 100644 --- a/lib/ReactViews/Custom/registerCustomComponentTypes.ts +++ b/lib/ReactViews/Custom/registerCustomComponentTypes.ts @@ -1,4 +1,3 @@ -"use strict"; import { when } from "mobx"; import { addOrReplaceRemoteFileUploadType } from "../../Core/getDataType"; diff --git a/lib/ReactViews/Map/BottomBar/DistanceLegend.tsx b/lib/ReactViews/Map/BottomBar/DistanceLegend.tsx index 4b5f4dd7456..6c85d89dab4 100644 --- a/lib/ReactViews/Map/BottomBar/DistanceLegend.tsx +++ b/lib/ReactViews/Map/BottomBar/DistanceLegend.tsx @@ -1,4 +1,3 @@ -"use strict"; import L from "leaflet"; import { runInAction } from "mobx"; import { observer } from "mobx-react"; diff --git a/lib/ReactViews/Map/MapNavigation/Items/MeasureTool.ts b/lib/ReactViews/Map/MapNavigation/Items/MeasureTool.ts index d56632bbcb0..75ccedd9da2 100644 --- a/lib/ReactViews/Map/MapNavigation/Items/MeasureTool.ts +++ b/lib/ReactViews/Map/MapNavigation/Items/MeasureTool.ts @@ -1,4 +1,3 @@ -"use strict"; import i18next from "i18next"; import React from "react"; import ArcType from "terriajs-cesium/Source/Core/ArcType"; diff --git a/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.ts b/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.ts index 9c4adee89dd..89fe75845a1 100644 --- a/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.ts +++ b/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.ts @@ -1,4 +1,3 @@ -"use strict"; import { uniq } from "lodash-es"; import { runInAction, toJS } from "mobx"; diff --git a/lib/ReactViews/Map/Panels/ToolsPanel/CountDatasets.tsx b/lib/ReactViews/Map/Panels/ToolsPanel/CountDatasets.tsx index e2e8e8d3e98..798cfe78b4b 100644 --- a/lib/ReactViews/Map/Panels/ToolsPanel/CountDatasets.tsx +++ b/lib/ReactViews/Map/Panels/ToolsPanel/CountDatasets.tsx @@ -1,4 +1,3 @@ -"use strict"; import { observer } from "mobx-react"; import React, { useState } from "react"; diff --git a/lib/ReactViews/MapIconButton/MapIconButton.tsx b/lib/ReactViews/MapIconButton/MapIconButton.tsx index 63da09f4a22..9a52859b6fd 100644 --- a/lib/ReactViews/MapIconButton/MapIconButton.tsx +++ b/lib/ReactViews/MapIconButton/MapIconButton.tsx @@ -1,4 +1,3 @@ -"use strict"; import React, { useRef, useState } from "react"; import styled, { useTheme } from "styled-components"; import Box from "../../Styled/Box"; diff --git a/lib/ReactViews/Notification/MapInteractionWindow.tsx b/lib/ReactViews/Notification/MapInteractionWindow.tsx index 8c3d2ede0a1..6bde923d94a 100644 --- a/lib/ReactViews/Notification/MapInteractionWindow.tsx +++ b/lib/ReactViews/Notification/MapInteractionWindow.tsx @@ -1,4 +1,3 @@ -"use strict"; import classNames from "classnames"; import { Lambda, observable, reaction, makeObservable } from "mobx"; diff --git a/lib/ReactViews/SidePanel/Branding.tsx b/lib/ReactViews/SidePanel/Branding.tsx index 705f90549e3..7ea9fdb9305 100644 --- a/lib/ReactViews/SidePanel/Branding.tsx +++ b/lib/ReactViews/SidePanel/Branding.tsx @@ -1,4 +1,3 @@ -"use strict"; import { observer } from "mobx-react"; import React from "react"; import isDefined from "../../Core/isDefined"; diff --git a/lib/ReactViews/Workbench/Controls/Legend.tsx b/lib/ReactViews/Workbench/Controls/Legend.tsx index 29f0f1c49a6..d6118742209 100644 --- a/lib/ReactViews/Workbench/Controls/Legend.tsx +++ b/lib/ReactViews/Workbench/Controls/Legend.tsx @@ -1,4 +1,3 @@ -"use strict"; import { observer } from "mobx-react"; import React, { SyntheticEvent } from "react"; diff --git a/lib/ReactViews/Workbench/Controls/OpacitySection.tsx b/lib/ReactViews/Workbench/Controls/OpacitySection.tsx index bd38879816d..504b3a6f321 100644 --- a/lib/ReactViews/Workbench/Controls/OpacitySection.tsx +++ b/lib/ReactViews/Workbench/Controls/OpacitySection.tsx @@ -1,4 +1,3 @@ -"use strict"; import { TFunction } from "i18next"; import { runInAction } from "mobx"; diff --git a/lib/ReactViews/Workbench/WorkbenchButton.tsx b/lib/ReactViews/Workbench/WorkbenchButton.tsx index cb147cf885e..fbc424f1fea 100644 --- a/lib/ReactViews/Workbench/WorkbenchButton.tsx +++ b/lib/ReactViews/Workbench/WorkbenchButton.tsx @@ -1,4 +1,3 @@ -"use strict"; import React from "react"; import styled from "styled-components"; import Box from "../../Styled/Box"; diff --git a/test/Map/featureDataToGeoJsonSpec.ts b/test/Map/featureDataToGeoJsonSpec.ts index aad9d2b296b..09071d418fe 100644 --- a/test/Map/featureDataToGeoJsonSpec.ts +++ b/test/Map/featureDataToGeoJsonSpec.ts @@ -1,4 +1,3 @@ -"use strict"; import featureDataToGeoJson from "../../lib/Map/PickedFeatures/featureDataToGeoJson"; diff --git a/test/Models/Catalog/Ows/CswCatalogGroupSpec.ts b/test/Models/Catalog/Ows/CswCatalogGroupSpec.ts index ae4910984c2..1684a5ba1c6 100644 --- a/test/Models/Catalog/Ows/CswCatalogGroupSpec.ts +++ b/test/Models/Catalog/Ows/CswCatalogGroupSpec.ts @@ -1,4 +1,3 @@ -"use strict"; import Terria from "../../../../lib/Models/Terria"; diff --git a/test/ReactViews/FeatureInfoPanelSpec.tsx b/test/ReactViews/FeatureInfoPanelSpec.tsx index f41c6deeb2f..af090f6bec0 100644 --- a/test/ReactViews/FeatureInfoPanelSpec.tsx +++ b/test/ReactViews/FeatureInfoPanelSpec.tsx @@ -1,4 +1,3 @@ -"use strict"; // import knockout from 'terriajs-cesium/Source/ThirdParty/knockout'; import React from "react";