Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix eslint issues in web/js dir, add curly brace rule, remove etc file - Ran eslint --fix on web/js directory - Added curly brace warn rule for imports - Removed uneeded etc sub-directories and files

ZachTRice011fedfca5e9
diff --git a/.eslintrc b/.eslintrc
index 2c8737084..b2d264bc7 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -13,7 +13,8 @@
"extends": "standard",
"rules": {
"semi": ["error", "always"],
- "space-before-function-paren": "off"
+ "space-before-function-paren": "off",
+ "object-curly-spacing": ["warn", "always"],
},
"overrides": [
{
diff --git a/etc/images/data-download-minus-button-blue.graffle b/etc/images/data-download-minus-button-blue.graffle
deleted file mode 100644
index d6020b219..000000000
--- a/etc/images/data-download-minus-button-blue.graffle
+++ /dev/null
@@ -1,315 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>ActiveLayerIndex</key>
- <integer>0</integer>
- <key>ApplicationVersion</key>
- <array>
- <string>com.omnigroup.OmniGrafflePro</string>
- <string>139.17.0.185490</string>
- </array>
- <key>AutoAdjust</key>
- <false/>
- <key>BackgroundGraphic</key>
- <dict>
- <key>Bounds</key>
- <string>{{0, 0}, {48, 48}}</string>
- <key>Class</key>
- <string>SolidGraphic</string>
- <key>ID</key>
- <integer>2</integer>
- <key>Style</key>
- <dict>
- <key>shadow</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- <key>stroke</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- </dict>
- </dict>
- <key>BaseZoom</key>
- <integer>0</integer>
- <key>CanvasOrigin</key>
- <string>{0, 0}</string>
- <key>CanvasSize</key>
- <string>{48, 48}</string>
- <key>ColumnAlign</key>
- <integer>1</integer>
- <key>ColumnSpacing</key>
- <real>36</real>
- <key>CreationDate</key>
- <string>2013-06-13 11:43:49 +0000</string>
- <key>Creator</key>
- <string>Mike McGann</string>
- <key>DisplayScale</key>
- <string>1 pt = 1 pt</string>
- <key>GraphDocumentVersion</key>
- <integer>8</integer>
- <key>GraphicsList</key>
- <array>
- <dict>
- <key>Bounds</key>
- <string>{{22, 13}, {4, 22}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>30</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Rotation</key>
- <real>90</real>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>stroke</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- <key>Width</key>
- <real>0.5</real>
- </dict>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{2, 2}, {44, 44}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>28</integer>
- <key>Layer</key>
- <integer>1</integer>
- <key>Shape</key>
- <string>Circle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>1</string>
- <key>g</key>
- <string>0.501961</string>
- <key>r</key>
- <string>0</string>
- </dict>
- <key>FillType</key>
- <integer>2</integer>
- <key>GradientAngle</key>
- <real>90</real>
- <key>GradientColor</key>
- <dict>
- <key>b</key>
- <string>1</string>
- <key>g</key>
- <string>0</string>
- <key>r</key>
- <string>0</string>
- </dict>
- </dict>
- <key>shadow</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0</string>
- <key>g</key>
- <string>0</string>
- <key>r</key>
- <string>0</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>1</string>
- <key>g</key>
- <string>1</string>
- <key>r</key>
- <string>1</string>
- </dict>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>VerticalPad</key>
- <integer>0</integer>
- </dict>
- </dict>
- </array>
- <key>GridInfo</key>
- <dict>
- <key>GridSpacing</key>
- <real>1</real>
- <key>ShowsGrid</key>
- <string>YES</string>
- <key>SnapsToGrid</key>
- <string>YES</string>
- </dict>
- <key>GuidesLocked</key>
- <string>NO</string>
- <key>GuidesVisible</key>
- <string>YES</string>
- <key>HPages</key>
- <integer>1</integer>
- <key>ImageCounter</key>
- <integer>1</integer>
- <key>KeepToScale</key>
- <false/>
- <key>Layers</key>
- <array>
- <dict>
- <key>Lock</key>
- <string>NO</string>
- <key>Name</key>
- <string>Plus Fill</string>
- <key>Print</key>
- <string>YES</string>
- <key>View</key>
- <string>YES</string>
- </dict>
- <dict>
- <key>Lock</key>
- <string>NO</string>
- <key>Name</key>
- <string>Base</string>
- <key>Print</key>
- <string>YES</string>
- <key>View</key>
- <string>YES</string>
- </dict>
- </array>
- <key>LayoutInfo</key>
- <dict>
- <key>Animate</key>
- <string>NO</string>
- <key>circoMinDist</key>
- <real>18</real>
- <key>circoSeparation</key>
- <real>0.0</real>
- <key>layoutEngine</key>
- <string>dot</string>
- <key>neatoSeparation</key>
- <real>0.0</real>
- <key>twopiSeparation</key>
- <real>0.0</real>
- </dict>
- <key>LinksVisible</key>
- <string>NO</string>
- <key>MagnetsVisible</key>
- <string>NO</string>
- <key>MasterSheets</key>
- <array/>
- <key>ModificationDate</key>
- <string>2013-06-14 18:46:47 +0000</string>
- <key>Modifier</key>
- <string>Mike McGann</string>
- <key>NotesVisible</key>
- <string>NO</string>
- <key>Orientation</key>
- <integer>2</integer>
- <key>OriginVisible</key>
- <string>NO</string>
- <key>PageBreaks</key>
- <string>YES</string>
- <key>PrintInfo</key>
- <dict>
- <key>NSBottomMargin</key>
- <array>
- <string>float</string>
- <string>41</string>
- </array>
- <key>NSHorizonalPagination</key>
- <array>
- <string>coded</string>
- <string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFxlwCG</string>
- </array>
- <key>NSLeftMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- <key>NSPaperSize</key>
- <array>
- <string>size</string>
- <string>{612, 792}</string>
- </array>
- <key>NSPrintReverseOrientation</key>
- <array>
- <string>int</string>
- <string>0</string>
- </array>
- <key>NSRightMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- <key>NSTopMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- </dict>
- <key>PrintOnePage</key>
- <false/>
- <key>ReadOnly</key>
- <string>NO</string>
- <key>RowAlign</key>
- <integer>1</integer>
- <key>RowSpacing</key>
- <real>36</real>
- <key>SheetTitle</key>
- <string>Canvas 1</string>
- <key>SmartAlignmentGuidesActive</key>
- <string>NO</string>
- <key>SmartDistanceGuidesActive</key>
- <string>NO</string>
- <key>UniqueID</key>
- <integer>1</integer>
- <key>UseEntirePage</key>
- <false/>
- <key>VPages</key>
- <integer>1</integer>
- <key>WindowInfo</key>
- <dict>
- <key>CurrentSheet</key>
- <integer>0</integer>
- <key>ExpandedCanvases</key>
- <array/>
- <key>Frame</key>
- <string>{{572, 476}, {656, 620}}</string>
- <key>ListView</key>
- <true/>
- <key>OutlineWidth</key>
- <integer>142</integer>
- <key>RightSidebar</key>
- <false/>
- <key>Sidebar</key>
- <true/>
- <key>SidebarWidth</key>
- <integer>173</integer>
- <key>VisibleRegion</key>
- <string>{{-5.875, -7.875}, {60.375, 65.75}}</string>
- <key>Zoom</key>
- <real>8</real>
- <key>ZoomValues</key>
- <array>
- <array>
- <string>Canvas 1</string>
- <real>8</real>
- <real>1</real>
- </array>
- </array>
- </dict>
-</dict>
-</plist>
diff --git a/etc/images/data-download-plus-button-cyan.graffle b/etc/images/data-download-plus-button-cyan.graffle
deleted file mode 100644
index e25908c36..000000000
--- a/etc/images/data-download-plus-button-cyan.graffle
+++ /dev/null
@@ -1,342 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>ActiveLayerIndex</key>
- <integer>0</integer>
- <key>ApplicationVersion</key>
- <array>
- <string>com.omnigroup.OmniGrafflePro</string>
- <string>139.17.0.185490</string>
- </array>
- <key>AutoAdjust</key>
- <false/>
- <key>BackgroundGraphic</key>
- <dict>
- <key>Bounds</key>
- <string>{{0, 0}, {48, 48}}</string>
- <key>Class</key>
- <string>SolidGraphic</string>
- <key>ID</key>
- <integer>2</integer>
- <key>Style</key>
- <dict>
- <key>shadow</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- <key>stroke</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- </dict>
- </dict>
- <key>BaseZoom</key>
- <integer>0</integer>
- <key>CanvasOrigin</key>
- <string>{0, 0}</string>
- <key>CanvasSize</key>
- <string>{48, 48}</string>
- <key>ColumnAlign</key>
- <integer>1</integer>
- <key>ColumnSpacing</key>
- <real>36</real>
- <key>CreationDate</key>
- <string>2013-06-13 11:43:49 +0000</string>
- <key>Creator</key>
- <string>Mike McGann</string>
- <key>DisplayScale</key>
- <string>1 pt = 1 pt</string>
- <key>GraphDocumentVersion</key>
- <integer>8</integer>
- <key>GraphicsList</key>
- <array>
- <dict>
- <key>Bounds</key>
- <string>{{22, 13}, {4, 22}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>30</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Rotation</key>
- <real>90</real>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0</string>
- <key>g</key>
- <string>0</string>
- <key>r</key>
- <string>0</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- <key>Width</key>
- <real>0.5</real>
- </dict>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{22, 13}, {4, 22}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>1</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0</string>
- <key>g</key>
- <string>0</string>
- <key>r</key>
- <string>0</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- <key>Width</key>
- <real>0.5</real>
- </dict>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{2, 2}, {44, 44}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>28</integer>
- <key>Layer</key>
- <integer>1</integer>
- <key>Shape</key>
- <string>Circle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>1</string>
- <key>g</key>
- <string>1</string>
- <key>r</key>
- <string>0</string>
- </dict>
- <key>FillType</key>
- <integer>2</integer>
- <key>GradientAngle</key>
- <real>90</real>
- <key>GradientColor</key>
- <dict>
- <key>b</key>
- <string>1</string>
- <key>g</key>
- <string>0.8</string>
- <key>r</key>
- <string>0.4</string>
- </dict>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>VerticalPad</key>
- <integer>0</integer>
- </dict>
- </dict>
- </array>
- <key>GridInfo</key>
- <dict>
- <key>GridSpacing</key>
- <real>1</real>
- <key>ShowsGrid</key>
- <string>YES</string>
- <key>SnapsToGrid</key>
- <string>YES</string>
- </dict>
- <key>GuidesLocked</key>
- <string>NO</string>
- <key>GuidesVisible</key>
- <string>YES</string>
- <key>HPages</key>
- <integer>1</integer>
- <key>ImageCounter</key>
- <integer>1</integer>
- <key>KeepToScale</key>
- <false/>
- <key>Layers</key>
- <array>
- <dict>
- <key>Lock</key>
- <string>NO</string>
- <key>Name</key>
- <string>Plus Fill</string>
- <key>Print</key>
- <string>YES</string>
- <key>View</key>
- <string>YES</string>
- </dict>
- <dict>
- <key>Lock</key>
- <string>NO</string>
- <key>Name</key>
- <string>Base</string>
- <key>Print</key>
- <string>YES</string>
- <key>View</key>
- <string>YES</string>
- </dict>
- </array>
- <key>LayoutInfo</key>
- <dict>
- <key>Animate</key>
- <string>NO</string>
- <key>circoMinDist</key>
- <real>18</real>
- <key>circoSeparation</key>
- <real>0.0</real>
- <key>layoutEngine</key>
- <string>dot</string>
- <key>neatoSeparation</key>
- <real>0.0</real>
- <key>twopiSeparation</key>
- <real>0.0</real>
- </dict>
- <key>LinksVisible</key>
- <string>NO</string>
- <key>MagnetsVisible</key>
- <string>NO</string>
- <key>MasterSheets</key>
- <array/>
- <key>ModificationDate</key>
- <string>2013-06-17 13:25:03 +0000</string>
- <key>Modifier</key>
- <string>Mike McGann</string>
- <key>NotesVisible</key>
- <string>NO</string>
- <key>Orientation</key>
- <integer>2</integer>
- <key>OriginVisible</key>
- <string>NO</string>
- <key>PageBreaks</key>
- <string>YES</string>
- <key>PrintInfo</key>
- <dict>
- <key>NSBottomMargin</key>
- <array>
- <string>float</string>
- <string>41</string>
- </array>
- <key>NSHorizonalPagination</key>
- <array>
- <string>coded</string>
- <string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFxlwCG</string>
- </array>
- <key>NSLeftMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- <key>NSPaperSize</key>
- <array>
- <string>size</string>
- <string>{612, 792}</string>
- </array>
- <key>NSPrintReverseOrientation</key>
- <array>
- <string>int</string>
- <string>0</string>
- </array>
- <key>NSRightMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- <key>NSTopMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- </dict>
- <key>PrintOnePage</key>
- <false/>
- <key>ReadOnly</key>
- <string>NO</string>
- <key>RowAlign</key>
- <integer>1</integer>
- <key>RowSpacing</key>
- <real>36</real>
- <key>SheetTitle</key>
- <string>Canvas 1</string>
- <key>SmartAlignmentGuidesActive</key>
- <string>NO</string>
- <key>SmartDistanceGuidesActive</key>
- <string>NO</string>
- <key>UniqueID</key>
- <integer>1</integer>
- <key>UseEntirePage</key>
- <false/>
- <key>VPages</key>
- <integer>1</integer>
- <key>WindowInfo</key>
- <dict>
- <key>CurrentSheet</key>
- <integer>0</integer>
- <key>ExpandedCanvases</key>
- <array>
- <dict>
- <key>name</key>
- <string>Canvas 1</string>
- </dict>
- </array>
- <key>Frame</key>
- <string>{{313, 261}, {656, 620}}</string>
- <key>ListView</key>
- <true/>
- <key>OutlineWidth</key>
- <integer>142</integer>
- <key>RightSidebar</key>
- <false/>
- <key>Sidebar</key>
- <true/>
- <key>SidebarWidth</key>
- <integer>173</integer>
- <key>VisibleRegion</key>
- <string>{{-5.875, -7.875}, {60.375, 65.75}}</string>
- <key>Zoom</key>
- <real>8</real>
- <key>ZoomValues</key>
- <array>
- <array>
- <string>Canvas 1</string>
- <real>8</real>
- <real>1</real>
- </array>
- </array>
- </dict>
-</dict>
-</plist>
diff --git a/etc/images/date-mini.png b/etc/images/date-mini.png
deleted file mode 100644
index 69723bc39..000000000
Binary files a/etc/images/date-mini.png and /dev/null differ
diff --git a/etc/images/fire-location.png b/etc/images/fire-location.png
deleted file mode 100644
index 3e2900f13..000000000
Binary files a/etc/images/fire-location.png and /dev/null differ
diff --git a/etc/images/map-mini.png b/etc/images/map-mini.png
deleted file mode 100644
index 7f81b79ea..000000000
Binary files a/etc/images/map-mini.png and /dev/null differ
diff --git a/etc/images/picker-mini.png b/etc/images/picker-mini.png
deleted file mode 100644
index ce5256e37..000000000
Binary files a/etc/images/picker-mini.png and /dev/null differ
diff --git a/etc/images/toolbar-mini.png b/etc/images/toolbar-mini.png
deleted file mode 100644
index 2a7f6d660..000000000
Binary files a/etc/images/toolbar-mini.png and /dev/null differ
diff --git a/etc/ol3.build.json b/etc/ol3.build.json
deleted file mode 100644
index d31bcffac..000000000
--- a/etc/ol3.build.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "exports": ["*"],
- "compile": {
- "externs": [
- "externs/geojson.js",
- "externs/oli.js",
- "externs/olx.js",
- "externs/proj4js.js"
- ],
- "define": [
- "goog.dom.ASSUME_STANDARDS_MODE=true",
- "goog.DEBUG=false"
- ],
- "compilation_level": "ADVANCED",
- "output_wrapper": "(function(){%output%})();",
- "use_types_for_optimization": true,
- "manage_closure_dependencies": true
- }
-}
diff --git a/etc/palettes/neo/amsre_sst.act b/etc/palettes/neo/amsre_sst.act
deleted file mode 100644
index 03a95f378..000000000
Binary files a/etc/palettes/neo/amsre_sst.act and /dev/null differ
diff --git a/etc/palettes/neo/amsre_sst_anom.act b/etc/palettes/neo/amsre_sst_anom.act
deleted file mode 100644
index ecce2576d..000000000
Binary files a/etc/palettes/neo/amsre_sst_anom.act and /dev/null differ
diff --git a/etc/palettes/neo/ceres_insol.act b/etc/palettes/neo/ceres_insol.act
deleted file mode 100644
index 7ea58a82b..000000000
Binary files a/etc/palettes/neo/ceres_insol.act and /dev/null differ
diff --git a/etc/palettes/neo/ceres_lw.act b/etc/palettes/neo/ceres_lw.act
deleted file mode 100644
index 8804dc902..000000000
Binary files a/etc/palettes/neo/ceres_lw.act and /dev/null differ
diff --git a/etc/palettes/neo/ceres_net.act b/etc/palettes/neo/ceres_net.act
deleted file mode 100644
index 856b306c8..000000000
Binary files a/etc/palettes/neo/ceres_net.act and /dev/null differ
diff --git a/etc/palettes/neo/ceres_sw.act b/etc/palettes/neo/ceres_sw.act
deleted file mode 100644
index b55e84952..000000000
Binary files a/etc/palettes/neo/ceres_sw.act and /dev/null differ
diff --git a/etc/palettes/neo/giss_temp_anom.act b/etc/palettes/neo/giss_temp_anom.act
deleted file mode 100644
index 296fbfbfd..000000000
Binary files a/etc/palettes/neo/giss_temp_anom.act and /dev/null differ
diff --git a/etc/palettes/neo/grace_lwe_anom.act b/etc/palettes/neo/grace_lwe_anom.act
deleted file mode 100644
index ce8e127e6..000000000
Binary files a/etc/palettes/neo/grace_lwe_anom.act and /dev/null differ
diff --git a/etc/palettes/neo/index.json b/etc/palettes/neo/index.json
deleted file mode 100644
index 164802f68..000000000
--- a/etc/palettes/neo/index.json
+++ /dev/null
@@ -1,99 +0,0 @@
-[
-{
- "id": "orange_1",
- "name": "Orange 1",
- "from": "NEO_Aerosol_Depth",
- "input": "modis_aer_od.act"
-},
-{
- "id": "blue_2",
- "name": "Blue 2",
- "from": "NEO_Cloud_Particle_Radius",
- "input": "modis_cld_rd.act"
-},
-{
- "id": "red_1",
- "name": "Red 1",
- "from": "NEO_Carbon_Monoxide",
- "input": "mopitt_co.act"
-
-},
-{
- "id": "purple_1",
- "name": "Purple 1",
- "from": "NEO_Cirrus_Reflectance",
- "input": "modis_cld_ci.act"
-},
-{
- "id": "blue_9",
- "name": "Blue 9",
- "from": "NEO_Chlorophyll_Concentration",
- "input": "modis_chlor.act"
-},
-{
- "id": "blue_6",
- "name": "Blue 6",
- "from": "NEO_Cloud_Fraction",
- "input": "modis_cld_fr.act"
-},
-{
- "id": "blue_8",
- "name": "Blue 8",
- "from": "NEO_Cloud_Optical_Thickness",
- "input": "modis_cld_ot.act"
-},
-{
- "id": "blue_7",
- "name": "Blue 7",
- "from": "NEO_Cloud_Water_Content",
- "input": "modis_cld_wp.act"
-},
-{
- "id": "rainbow_1",
- "name": "Rainbow 1",
- "from": "NEO_Land_Surface_Temperature",
- "input": "modis_lst.act"
-},
-{
- "id": "blue_3",
- "name": "Blue 3",
- "from": "NEO_Ozone",
- "input": "omi_ozone_to3.act"
-},
-{
- "id": "blue_4",
- "name": "Blue 4",
- "from": "NEO_Rainfall",
- "input": "trmm_rainfall.act"
-},
-{
- "id": "purple_2",
- "name": "Purple 2",
- "from": "NEO_Sea_Temperature",
- "input": "amsre_sst.act"
-},
-{
- "id": "blue_5",
- "name": "Blue 5",
- "from": "NEO_Snow_Cover",
- "input": "modis_snow.act"
-},
-{
- "id": "red_2",
- "name": "Red 2",
- "from": "NEO_Solar_Insolation",
- "input": "ceres_insol.act"
-},
-{
- "id": "green_1",
- "name": "Green 1",
- "from": "NEO_Vegetation_Index",
- "input": "modis_ndvi.act"
-},
-{
- "id": "blue_1",
- "name": "Blue 1",
- "from": "NEO_Water_Vapor",
- "input": "modis_sky_wv.act"
-}
-]
diff --git a/etc/palettes/neo/modis_aer_od.act b/etc/palettes/neo/modis_aer_od.act
deleted file mode 100644
index 70e5dd766..000000000
Binary files a/etc/palettes/neo/modis_aer_od.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_aer_ra.act b/etc/palettes/neo/modis_aer_ra.act
deleted file mode 100644
index b439960b4..000000000
Binary files a/etc/palettes/neo/modis_aer_ra.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_chlor.act b/etc/palettes/neo/modis_chlor.act
deleted file mode 100644
index e4a691a8f..000000000
Binary files a/etc/palettes/neo/modis_chlor.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_cld_ci.act b/etc/palettes/neo/modis_cld_ci.act
deleted file mode 100644
index 34e11886a..000000000
Binary files a/etc/palettes/neo/modis_cld_ci.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_cld_fr.act b/etc/palettes/neo/modis_cld_fr.act
deleted file mode 100644
index fbe7e4752..000000000
Binary files a/etc/palettes/neo/modis_cld_fr.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_cld_ot.act b/etc/palettes/neo/modis_cld_ot.act
deleted file mode 100644
index 33a6d15d3..000000000
Binary files a/etc/palettes/neo/modis_cld_ot.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_cld_rd.act b/etc/palettes/neo/modis_cld_rd.act
deleted file mode 100644
index a266a464d..000000000
Binary files a/etc/palettes/neo/modis_cld_rd.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_cld_wp.act b/etc/palettes/neo/modis_cld_wp.act
deleted file mode 100644
index 773738bc9..000000000
Binary files a/etc/palettes/neo/modis_cld_wp.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_lai.act b/etc/palettes/neo/modis_lai.act
deleted file mode 100644
index 6ebe80d0b..000000000
Binary files a/etc/palettes/neo/modis_lai.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_lst.act b/etc/palettes/neo/modis_lst.act
deleted file mode 100644
index de034ee73..000000000
Binary files a/etc/palettes/neo/modis_lst.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_lst_anom.act b/etc/palettes/neo/modis_lst_anom.act
deleted file mode 100644
index 828f3f7d8..000000000
Binary files a/etc/palettes/neo/modis_lst_anom.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_ndvi.act b/etc/palettes/neo/modis_ndvi.act
deleted file mode 100644
index b7ae1aa4e..000000000
Binary files a/etc/palettes/neo/modis_ndvi.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_npp.act b/etc/palettes/neo/modis_npp.act
deleted file mode 100644
index b7ae1aa4e..000000000
Binary files a/etc/palettes/neo/modis_npp.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_sky_wv.act b/etc/palettes/neo/modis_sky_wv.act
deleted file mode 100644
index eb9fe2a96..000000000
Binary files a/etc/palettes/neo/modis_sky_wv.act and /dev/null differ
diff --git a/etc/palettes/neo/modis_snow.act b/etc/palettes/neo/modis_snow.act
deleted file mode 100644
index 4760e0fc8..000000000
Binary files a/etc/palettes/neo/modis_snow.act and /dev/null differ
diff --git a/etc/palettes/neo/mopitt_co.act b/etc/palettes/neo/mopitt_co.act
deleted file mode 100644
index 04fe98969..000000000
Binary files a/etc/palettes/neo/mopitt_co.act and /dev/null differ
diff --git a/etc/palettes/neo/omi_ozone_to3.act b/etc/palettes/neo/omi_ozone_to3.act
deleted file mode 100644
index 297aae5a5..000000000
Binary files a/etc/palettes/neo/omi_ozone_to3.act and /dev/null differ
diff --git a/etc/palettes/neo/trmm_rainfall.act b/etc/palettes/neo/trmm_rainfall.act
deleted file mode 100644
index a1117e7f1..000000000
Binary files a/etc/palettes/neo/trmm_rainfall.act and /dev/null differ
diff --git a/package.json b/package.json
index 94d85f24a..717616b22 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
},
"scripts": {
"browserstack": "node e2e/browserstack.js -c e2e/browserstack.conf.js -e browserstack --skiptags wip",
- "build": "run-s \"getcapabilities -- {1}\" \"build:config -- {1}\" && run-p build:css build:js build:tests --",
+ "build": "run-p build:css build:js build:tests && run-s \"getcapabilities -- {1}\" \"build:config -- {1}\" --",
"postbuild": "grunt build site",
"build:css": "node ./tasks/buildCSS",
"build:config": "bash -c 'bin/wv-options-build ${1}' 0",
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.js
index 39bff2cc4..b10c1c663 100644
--- a/web/js/animation/gif.js
+++ b/web/js/animation/gif.js
@@ -5,7 +5,7 @@ import gifshot from 'gifshot';
import lodashFind from 'lodash/find';
import lodashEach from 'lodash/each';
import lodashIsUndefined from 'lodash/isundefined';
-import {GA as googleAnalytics} from 'worldview-components';
+import { GA as googleAnalytics } from 'worldview-components';
import util from '../util/util';
import uiIndicator from '../ui/indicator';
diff --git a/web/js/animation/range-select.js b/web/js/animation/range-select.js
index 3a5961abc..b38b28f11 100644
--- a/web/js/animation/range-select.js
+++ b/web/js/animation/range-select.js
@@ -1,7 +1,7 @@
import $ from 'jquery';
import React from 'react';
import ReactDOM from 'react-dom';
-import {RangeSelector} from 'worldview-components';
+import { RangeSelector } from 'worldview-components';
import d3 from 'd3';
import util from '../util/util';
diff --git a/web/js/animation/widget.js b/web/js/animation/widget.js
index f83bd0b9d..e572b5781 100644
--- a/web/js/animation/widget.js
+++ b/web/js/animation/widget.js
@@ -1,5 +1,5 @@
import $ from 'jquery';
-import {AnimationWidget, GA as googleAnalytics} from 'worldview-components';
+import { AnimationWidget, GA as googleAnalytics } from 'worldview-components';
import React from 'react';
import ReactDOM from 'react-dom';
import lodashWithout from 'lodash/without';
diff --git a/web/js/data/handler.js b/web/js/data/handler.js
index 4e3735c41..822962527 100644
--- a/web/js/data/handler.js
+++ b/web/js/data/handler.js
@@ -1,10 +1,10 @@
import $ from 'jquery';
-import {dataCmrMockClient, dataCmrClient} from './cmr';
+import { dataCmrMockClient, dataCmrClient } from './cmr';
import util from '../util/util';
import brand from '../brand';
-import {CRS_WGS_84_QUERY_EXTENT, CRS_WGS_84} from '../map/map';
+import { CRS_WGS_84_QUERY_EXTENT, CRS_WGS_84 } from '../map/map';
import {
dataResultsChain,
dataResultsTagProduct,
diff --git a/web/js/data/map.js b/web/js/data/map.js
index cda919602..749d8b839 100644
--- a/web/js/data/map.js
+++ b/web/js/data/map.js
@@ -11,7 +11,7 @@ import OlGeomLineString from 'ol/geom/linestring';
import OlFormatGeoJSON from 'ol/format/geojson';
import OlFeature from 'ol/feature';
-import {CRS_WGS_84, mapToPolys, mapDistanceX} from '../map/map';
+import { CRS_WGS_84, mapToPolys, mapDistanceX } from '../map/map';
export function dataMap(model, maps, config) {
var self = {};
diff --git a/web/js/data/model.js b/web/js/data/model.js
index d679589e7..8fb6f985a 100644
--- a/web/js/data/model.js
+++ b/web/js/data/model.js
@@ -2,7 +2,7 @@ import $ from 'jquery';
import lodashEach from 'lodash/each';
import lodashFind from 'lodash/find';
import util from '../util/util';
-import {dataHandlerGetByName} from './handler';
+import { dataHandlerGetByName } from './handler';
export function dataModel(models, config) {
var NO_PRODUCT_ID = '__NO_PRODUCT';
diff --git a/web/js/data/results.js b/web/js/data/results.js
index 6fc327553..f24723d8f 100644
--- a/web/js/data/results.js
+++ b/web/js/data/results.js
@@ -8,9 +8,9 @@ import OlGeomPoint from 'ol/geom/point';
import olExtent from 'ol/extent';
import lodashClone from 'lodash/clone';
import lodashEach from 'lodash/each';
-import {dataCmrRoundTime, dataCmrGeometry} from './cmr';
+import { dataCmrRoundTime, dataCmrGeometry } from './cmr';
import util from '../util/util';
-import {dataHelper} from '../edsc';
+import { dataHelper } from '../edsc';
import {
CRS_WGS_84,
mapIsPolygonValid,
diff --git a/web/js/data/ui.js b/web/js/data/ui.js
index 9080bef63..1d7ded033 100644
--- a/web/js/data/ui.js
+++ b/web/js/data/ui.js
@@ -1,14 +1,14 @@
import $ from 'jquery';
import lodashSize from 'lodash/size';
import lodashEach from 'lodash/each';
-import {GA as GoogleAnalytics} from 'worldview-components';
+import { GA as GoogleAnalytics } from 'worldview-components';
import olExtent from 'ol/extent';
-import {dataMap} from './map';
+import { dataMap } from './map';
import uiIndicator from '../ui/indicator';
import util from '../util/util';
import wvui from '../ui/ui';
-import {REL_DATA, REL_METADATA, REL_BROWSE, DATA_EXTS} from './cmr';
+import { REL_DATA, REL_METADATA, REL_BROWSE, DATA_EXTS } from './cmr';
export function dataUi(models, ui, config) {
var queryActive = false;
diff --git a/web/js/edsc.js b/web/js/edsc.js
index a763b7a2a..582c7aff9 100644
--- a/web/js/edsc.js
+++ b/web/js/edsc.js
@@ -76,4 +76,4 @@ edsc.geoutil = edscGeoUtil(L, edsc.Coordinate, edsc.Arc, edsc.config);
edsc.interpolation = edscInterpolation(L, edsc.geoutil.gcInterpolate);
edsc.L.sphericalPolygon = edscSphericalPolygon(L, edsc.geoutil, edsc.Arc, edsc.Coordinate);
-export {L as dataHelper};
+export { L as dataHelper };
diff --git a/web/js/image/panel.js b/web/js/image/panel.js
index 2fa46e824..c7143448b 100644
--- a/web/js/image/panel.js
+++ b/web/js/image/panel.js
@@ -4,7 +4,7 @@ import 'jquery-ui/dialog';
import lodashEach from 'lodash/each';
import lodashIsUndefined from 'lodash/isUndefined';
import olProj from 'ol/proj';
-import {GA as googleAnalytics} from 'worldview-components';
+import { GA as googleAnalytics } from 'worldview-components';
import util from '../util/util';
import wvui from '../ui/ui';
diff --git a/web/js/layers/active.js b/web/js/layers/active.js
index a6d03120e..05cd71637 100644
--- a/web/js/layers/active.js
+++ b/web/js/layers/active.js
@@ -8,9 +8,9 @@ import lodashEach from 'lodash/each';
import lodashEachRight from 'lodash/eachRight';
import util from '../util/util';
import wvui from '../ui/ui';
-import {layersInfo} from './info';
-import {layersOptions} from './options';
-import {palettesLegend} from '../palettes/legend';
+import { layersInfo } from './info';
+import { layersOptions } from './options';
+import { palettesLegend } from '../palettes/legend';
export function layersActive(models, ui, config) {
var model = models.layers;
@@ -51,7 +51,7 @@ export function layersActive(models, ui, config) {
var render = function () {
legends = {};
- var $container = $('<div />', {class: 'layer-container bank'});
+ var $container = $('<div />', { class: 'layer-container bank' });
$(self.selector).empty().append($container);
lodashEachRight(groups, function (group) {
diff --git a/web/js/layers/modal.js b/web/js/layers/modal.js
index 2bcaea61f..6297ae4a7 100644
--- a/web/js/layers/modal.js
+++ b/web/js/layers/modal.js
@@ -8,7 +8,7 @@ import 'isotope-layout';
import 'perfect-scrollbar/jquery';
import React from 'react';
import ReactDOM from 'react-dom';
-import {LayerList} from 'worldview-components';
+import { LayerList } from 'worldview-components';
import lodashFind from 'lodash/find';
import lodashIndexOf from 'lodash/indexOf';
import lodashSortBy from 'lodash/sortBy';
@@ -556,7 +556,7 @@ export function layersModal(models, ui, config) {
}).on('ifChecked', addLayer)
.on('ifUnchecked', removeLayer);
- if (lodashFind(model.active, {id: layer.id})) {
+ if (lodashFind(model.active, { id: layer.id })) {
$setting.attr('checked', 'checked');
}
diff --git a/web/js/layers/sidebar.js b/web/js/layers/sidebar.js
index 0ec263caa..4d59634a3 100644
--- a/web/js/layers/sidebar.js
+++ b/web/js/layers/sidebar.js
@@ -3,7 +3,7 @@ import 'jquery-ui/tabs';
import 'jquery-ui/dialog';
import 'perfect-scrollbar/jquery';
import util from '../util/util';
-import {GA as googleAnalytics} from 'worldview-components';
+import { GA as googleAnalytics } from 'worldview-components';
export function layersSidebar(models, config) {
var collapsed = false;
diff --git a/web/js/link/ui.js b/web/js/link/ui.js
index 9155f3314..d15d98221 100644
--- a/web/js/link/ui.js
+++ b/web/js/link/ui.js
@@ -6,7 +6,7 @@ import lodashThrottle from 'lodash/throttle';
import React from 'react';
import ReactDOM from 'react-dom';
import Clipboard from 'clipboard';
-import {Share, GA as googleAnalytics} from 'worldview-components';
+import { Share, GA as googleAnalytics } from 'worldview-components';
import util from '../util/util';
import wvui from '../ui/ui';
diff --git a/web/js/main.js b/web/js/main.js
index e292e2a01..f696f66db 100644
--- a/web/js/main.js
+++ b/web/js/main.js
@@ -1,60 +1,60 @@
import $ from 'jquery';
import lodashEach from 'lodash/each';
-import {GA as googleAnalytics} from 'worldview-components';
+import { GA as googleAnalytics } from 'worldview-components';
// Utils
import util from './util/util';
// Date
-import {parse as dateParser} from './date/date';
-import {dateModel} from './date/model';
-import {dateLabel} from './date/label';
+import { parse as dateParser } from './date/date';
+import { dateModel } from './date/model';
+import { dateLabel } from './date/label';
import dateWheels from './date/wheels';
// Timeline
-import {timeline} from './date/timeline';
-import {timelineData} from './date/timeline-data';
-import {timelineConfig} from './date/config';
-import {timelineZoom} from './date/timeline-zoom';
-import {timelineTicks} from './date/timeline-ticks';
-import {timelinePick} from './date/timeline-pick';
-import {timelinePan} from './date/timeline-pan';
-import {timelineInput} from './date/timeline-input';
+import { timeline } from './date/timeline';
+import { timelineData } from './date/timeline-data';
+import { timelineConfig } from './date/config';
+import { timelineZoom } from './date/timeline-zoom';
+import { timelineTicks } from './date/timeline-ticks';
+import { timelinePick } from './date/timeline-pick';
+import { timelinePan } from './date/timeline-pan';
+import { timelineInput } from './date/timeline-input';
// Layers
-import {parse as layerParser, validate as layerValidate} from './layers/layers';
-import {layersModel} from './layers/model';
-import {layersModal} from './layers/modal';
-import {layersSidebar} from './layers/sidebar';
-import {layersActive} from './layers/active';
+import { parse as layerParser, validate as layerValidate } from './layers/layers';
+import { layersModel } from './layers/model';
+import { layersModal } from './layers/modal';
+import { layersSidebar } from './layers/sidebar';
+import { layersActive } from './layers/active';
// Map
-import {mapParser} from './map/map';
-import {mapModel} from './map/model';
-import {mapui} from './map/ui';
-import {mapRotate} from './map/rotation';
-import {MapRunningData} from './map/runningdata';
-import {mapLayerBuilder} from './map/layerbuilder';
-import {mapDatelineBuilder} from './map/datelinebuilder';
-import {mapPrecacheTile} from './map/precachetile';
-import {mapAnimate} from './map/animate';
+import { mapParser } from './map/map';
+import { mapModel } from './map/model';
+import { mapui } from './map/ui';
+import { mapRotate } from './map/rotation';
+import { MapRunningData } from './map/runningdata';
+import { mapLayerBuilder } from './map/layerbuilder';
+import { mapDatelineBuilder } from './map/datelinebuilder';
+import { mapPrecacheTile } from './map/precachetile';
+import { mapAnimate } from './map/animate';
// Animation
-import {parse as animationParser} from './animation/anim';
-import {animationModel} from './animation/model';
-import {animationUi} from './animation/ui';
-import {animationWidget} from './animation/widget';
-import {animationRangeSelect} from './animation/range-select';
-import {animationGif} from './animation/gif';
+import { parse as animationParser } from './animation/anim';
+import { animationModel } from './animation/model';
+import { animationUi } from './animation/ui';
+import { animationWidget } from './animation/widget';
+import { animationRangeSelect } from './animation/range-select';
+import { animationGif } from './animation/gif';
// Palettes
import palettes from './palettes/palettes';
-import {palettesModel} from './palettes/model';
+import { palettesModel } from './palettes/model';
// Data
-import {dataParser} from './data/data';
-import {dataModel} from './data/model';
-import {dataUi} from './data/ui';
+import { dataParser } from './data/data';
+import { dataModel } from './data/model';
+import { dataUi } from './data/ui';
// NaturalEvents
import naturalEventsModel from './naturalEvents/model';
@@ -62,32 +62,32 @@ import naturalEventsUI from './naturalEvents/ui';
import naturalEventsRequest from './naturalEvents/request';
// Image
-import {imageRubberband} from './image/rubberband';
-import {imagePanel} from './image/panel';
+import { imageRubberband } from './image/rubberband';
+import { imagePanel } from './image/panel';
// Notifications
-import {notificationsUi} from './notifications/ui';
+import { notificationsUi } from './notifications/ui';
// UI
import loadingIndicator from './ui/indicator';
// Link
-import {linkModel} from './link/model';
-import {linkUi} from './link/ui';
+import { linkModel } from './link/model';
+import { linkUi } from './link/ui';
// Projections
-import {parse as projectionParser} from './projection/projection';
-import {projectionModel} from './projection/model';
-import {projectionUi} from './projection/ui';
-import {projectionChange} from './projection/change';
+import { parse as projectionParser } from './projection/projection';
+import { projectionModel } from './projection/model';
+import { projectionUi } from './projection/ui';
+import { projectionChange } from './projection/change';
// Other
-import {debugConfig, debugLayers, debug} from './debug';
+import { debugConfig, debugLayers, debug } from './debug';
import Brand from './brand';
import tour from './tour';
-import {uiInfo} from './ui/info';
+import { uiInfo } from './ui/info';
-import {polyfill} from './polyfill';
+import { polyfill } from './polyfill';
polyfill(); // Polyfills some browser features
// Document ready function
diff --git a/web/js/map/animate.js b/web/js/map/animate.js
index 08d99ded0..155ba27a9 100644
--- a/web/js/map/animate.js
+++ b/web/js/map/animate.js
@@ -35,16 +35,16 @@ export function mapAnimate(models, config, ui) {
if (hasEndInView) {
// If the event is already visible, don't zoom out
return Promise.all([
- animationPromise({center: endPoint, duration: duration}),
- animationPromise({zoom: endZoom, duration: duration})
+ animationPromise({ center: endPoint, duration: duration }),
+ animationPromise({ zoom: endZoom, duration: duration })
]);
}
// Default animation zooms out to arc
return Promise.all([
- animationPromise({center: endPoint, duration: duration}),
+ animationPromise({ center: endPoint, duration: duration }),
animationPromise(
- {zoom: getBestZoom(distance, startZoom, endZoom, view), duration: duration / 2},
- {zoom: endZoom, duration: duration / 2}
+ { zoom: getBestZoom(distance, startZoom, endZoom, view), duration: duration / 2 },
+ { zoom: endZoom, duration: duration / 2 }
)
]);
};
diff --git a/web/js/map/datelinebuilder.js b/web/js/map/datelinebuilder.js
index 96f11e531..e8c416196 100644
--- a/web/js/map/datelinebuilder.js
+++ b/web/js/map/datelinebuilder.js
@@ -3,7 +3,7 @@ import ReactDOM from 'React-dom';
import OlOverlay from 'ol/overlay';
import util from '../util/util';
-import {DateLine, LineText} from 'worldview-components';
+import { DateLine, LineText } from 'worldview-components';
var map, overlay1, overlay2, textFactory, lineFactory, textOverlay1, textOverlay2,
lineLeft, lineRight, textLeft, textRight, proj;
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index dd85100a1..9e214f17d 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -8,7 +8,7 @@ import OlTileGridTileGrid from 'ol/tilegrid/tilegrid';
import lodashCloneDeep from 'lodash/cloneDeep';
import lodashMerge from 'lodash/merge';
import lodashEach from 'lodash/each';
-import {lookupFactory} from '../ol/lookupimagetile';
+import { lookupFactory } from '../ol/lookupimagetile';
export function mapLayerBuilder(models, config, cache, Parent) {
var self = {};
diff --git a/web/js/map/ui.js b/web/js/map/ui.js
index aba2dc8aa..dcab33629 100644
--- a/web/js/map/ui.js
+++ b/web/js/map/ui.js
@@ -22,11 +22,11 @@ import OlInteractionMouseWheelZoom from 'ol/interaction/mousewheelzoom';
import OlInteractionDragZoom from 'ol/interaction/dragzoom';
import olExtent from 'ol/extent';
import olProj from 'ol/proj';
-import {MapRotate} from './rotation';
-import {mapDateLineBuilder} from './datelinebuilder';
-import {mapLayerBuilder} from './layerbuilder';
-import {MapRunningData} from './runningdata';
-import {mapPrecacheTile} from './precachetile';
+import { MapRotate } from './rotation';
+import { mapDateLineBuilder } from './datelinebuilder';
+import { mapLayerBuilder } from './layerbuilder';
+import { MapRunningData } from './runningdata';
+import { mapPrecacheTile } from './precachetile';
import Cache from 'cachai';
export function mapui(models, config) {
diff --git a/web/js/naturalEvents/markers.js b/web/js/naturalEvents/markers.js
index ee1275cf3..7c09d85a1 100644
--- a/web/js/naturalEvents/markers.js
+++ b/web/js/naturalEvents/markers.js
@@ -51,7 +51,7 @@ export default function markers (models, ui) {
];
category = icons.includes(category.title)
? category
- : {title: 'Default', slug: 'default'};
+ : { title: 'Default', slug: 'default' };
if (geometry.type === 'Polygon') {
var extent = olExtent.boundingExtent(geometry.coordinates[0]);
diff --git a/web/js/naturalEvents/ui.js b/web/js/naturalEvents/ui.js
index c3ccdd842..f9082ecd7 100644
--- a/web/js/naturalEvents/ui.js
+++ b/web/js/naturalEvents/ui.js
@@ -82,7 +82,7 @@ export default function naturalEventsUI (models, ui, config, request) {
var prevCategory = prevEvent ? prevEvent.categories[0].title : false;
// Store selected id and date in model
- self.selected = {id: id};
+ self.selected = { id: id };
if (date) self.selected.date = date;
var event = getEventById(id);
@@ -200,7 +200,7 @@ export default function naturalEventsUI (models, ui, config, request) {
};
var createEventList = function () {
- var $panels = $('<div />', {class: 'wv-eventslist bank'});
+ var $panels = $('<div />', { class: 'wv-eventslist bank' });
$('#wv-events').empty().append($panels);
var $list = $('<ul></ul>').attr('id', 'wv-eventscontent').addClass('content').addClass('map-item-list');
var $detailContainer = $('<div></div>').attr('id', 'wv-events-detail').hide();
diff --git a/web/js/tour.js b/web/js/tour.js
index 2369b6c68..5c2b0c19e 100644
--- a/web/js/tour.js
+++ b/web/js/tour.js
@@ -3,7 +3,7 @@ import 'jquery-ui/dialog';
import 'jquery.joyride';
import util from './util/util';
import wvui from './ui/ui';
-import {GA as googleAnalytics} from 'worldview-components';
+import { GA as googleAnalytics } from 'worldview-components';
import feedbackModal from './feedback';
export default function (models, ui, config) {
diff --git a/web/js/ui/ui.js b/web/js/ui/ui.js
index 4de869ade..3de08fb2d 100644
--- a/web/js/ui/ui.js
+++ b/web/js/ui/ui.js
@@ -76,12 +76,12 @@ export default (function (self) {
};
self.alert = function (body, title, size, glyph, closeFn) {
- var $message = $('<span/>', {class: 'notify-message'});
+ var $message = $('<span/>', { class: 'notify-message' });
var $icon = $('<i/>', { class: 'fa fa-' + glyph + ' fa-1x', title: title });
var $messageWrapper = $('<div/>').click(function () {
self.notify(body, title, size);
}).append($icon).append($message);
- var $close = $('<i/>', {class: 'fa fa-times fa-1x'}).click(closeFn);
+ var $close = $('<i/>', { class: 'fa fa-times fa-1x' }).click(closeFn);
var $alert = $('<div/>').append($close).append($messageWrapper).dialog({
autoOpen: false,
resizable: false,
diff --git a/web/js/util/util.js b/web/js/util/util.js
index 6765a6d17..cc2dc510b 100644
--- a/web/js/util/util.js
+++ b/web/js/util/util.js
@@ -10,7 +10,7 @@ import lodashEach from 'lodash/each';
import lodashIsNull from 'lodash/isNull';
import wvui from '../ui/ui';
import browser from './browser';
-import {events} from './events';
+import { events } from './events';
import load from './load';
import Cache from 'cachai';