From 8e848fdf94e538875a1fcab7c4675620e122c47e Mon Sep 17 00:00:00 2001
From: Glenn Vorhes <gavorhes@wisc.edu>
Date: Wed, 11 May 2016 13:57:08 -0500
Subject: [PATCH] remove module exports

---
 lib/collections/ItsLayerCollection.js | 3 +--
 lib/collections/LayerLegend.js        | 3 +--
 lib/collections/Sliders.js            | 3 +--
 lib/jquery.js                         | 3 +--
 lib/layers/LayerBase.js               | 3 +--
 lib/layers/LayerBaseVector.js         | 3 +--
 lib/layers/LayerBaseVectorEsri.js     | 3 +--
 lib/layers/LayerBaseVectorGeoJson.js  | 3 +--
 lib/layers/LayerBaseXyzTile.js        | 3 +--
 lib/layers/LayerEsriMapServer.js      | 3 +--
 lib/layers/LayerItsInventory.js       | 3 +--
 lib/layers/LayerRealEarthTile.js      | 3 +--
 lib/layers/LayerRealEarthVector.js    | 3 +--
 lib/mixin/RealEarthAnimate.js         | 3 +--
 lib/mixin/RealEarthAnimateTile.js     | 3 +--
 lib/mixin/RealEarthAnimateVector.js   | 3 +--
 lib/ol/ol.js                          | 3 +--
 lib/olHelpers/SortedFeatures.js       | 3 +--
 lib/olHelpers/mapInteractionBase.js   | 3 +--
 lib/olHelpers/mapMove.js              | 4 +---
 lib/olHelpers/mapMoveCls.js           | 3 +--
 lib/olHelpers/mapPopup.js             | 4 +---
 lib/olHelpers/mapPopupCls.js          | 3 +--
 lib/olHelpers/propertiesZoomStyle.js  | 3 +--
 lib/olHelpers/quickMap.js             | 3 +--
 lib/olHelpers/quickMapBase.js         | 3 +--
 lib/olHelpers/quickMapMulti.js        | 3 +--
 lib/rectangle.js                      | 4 +---
 lib/util/formatString.js              | 3 +--
 lib/util/makeGuid.js                  | 3 +--
 lib/util/provide.js                   | 3 +--
 package.json                          | 2 +-
 32 files changed, 32 insertions(+), 66 deletions(-)

diff --git a/lib/collections/ItsLayerCollection.js b/lib/collections/ItsLayerCollection.js
index 1f5805b..028fe7b 100644
--- a/lib/collections/ItsLayerCollection.js
+++ b/lib/collections/ItsLayerCollection.js
@@ -176,5 +176,4 @@ var ItsLayerCollection = (function () {
 })();
 
 nm.ItsLayerCollection = ItsLayerCollection;
-exports.default = ItsLayerCollection;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = ItsLayerCollection;
\ No newline at end of file
diff --git a/lib/collections/LayerLegend.js b/lib/collections/LayerLegend.js
index 44b3602..a58a622 100644
--- a/lib/collections/LayerLegend.js
+++ b/lib/collections/LayerLegend.js
@@ -437,5 +437,4 @@ var LayerLegend = (function () {
 })();
 
 nm.LayerLegend = LayerLegend;
-exports.default = LayerLegend;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerLegend;
\ No newline at end of file
diff --git a/lib/collections/Sliders.js b/lib/collections/Sliders.js
index 6824424..c6834fb 100644
--- a/lib/collections/Sliders.js
+++ b/lib/collections/Sliders.js
@@ -599,5 +599,4 @@ var Sliders = (function () {
 
 nm.Sliders = Sliders;
 window.gv['collections'].Sliders = Sliders;
-exports.default = Sliders;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = Sliders;
\ No newline at end of file
diff --git a/lib/jquery.js b/lib/jquery.js
index c052545..ae1b563 100644
--- a/lib/jquery.js
+++ b/lib/jquery.js
@@ -8,5 +8,4 @@ Object.defineProperty(exports, "__esModule", {
  */
 var $ = require('jquery/dist/jquery.min');
 
-exports.default = $;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = $;
\ No newline at end of file
diff --git a/lib/layers/LayerBase.js b/lib/layers/LayerBase.js
index 3742b68..15ac7fd 100644
--- a/lib/layers/LayerBase.js
+++ b/lib/layers/LayerBase.js
@@ -447,5 +447,4 @@ var LayerBase = (function () {
 })();
 
 nm.LayerBase = LayerBase;
-exports.default = LayerBase;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerBase;
\ No newline at end of file
diff --git a/lib/layers/LayerBaseVector.js b/lib/layers/LayerBaseVector.js
index 3ee0b6b..ace0a9d 100644
--- a/lib/layers/LayerBaseVector.js
+++ b/lib/layers/LayerBaseVector.js
@@ -339,5 +339,4 @@ var LayerBaseVector = (function (_LayerBase) {
 })(_LayerBase3.default);
 
 nm.LayerBaseVector = LayerBaseVector;
-exports.default = LayerBaseVector;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerBaseVector;
\ No newline at end of file
diff --git a/lib/layers/LayerBaseVectorEsri.js b/lib/layers/LayerBaseVectorEsri.js
index 7f7f368..1f9baf0 100644
--- a/lib/layers/LayerBaseVectorEsri.js
+++ b/lib/layers/LayerBaseVectorEsri.js
@@ -244,5 +244,4 @@ var LayerBaseVectorEsri = (function (_LayerBaseVector) {
 })(_LayerBaseVector3.default);
 
 nm.LayerBaseVectorEsri = LayerBaseVectorEsri;
-exports.default = LayerBaseVectorEsri;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerBaseVectorEsri;
\ No newline at end of file
diff --git a/lib/layers/LayerBaseVectorGeoJson.js b/lib/layers/LayerBaseVectorGeoJson.js
index f001aa7..3a4ef43 100644
--- a/lib/layers/LayerBaseVectorGeoJson.js
+++ b/lib/layers/LayerBaseVectorGeoJson.js
@@ -146,5 +146,4 @@ var LayerBaseVectorGeoJson = (function (_LayerBaseVector) {
 })(_LayerBaseVector3.default);
 
 nm.LayerBaseVectorGeoJson = LayerBaseVectorGeoJson;
-exports.default = LayerBaseVectorGeoJson;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerBaseVectorGeoJson;
\ No newline at end of file
diff --git a/lib/layers/LayerBaseXyzTile.js b/lib/layers/LayerBaseXyzTile.js
index 5e12cfb..d419ad7 100644
--- a/lib/layers/LayerBaseXyzTile.js
+++ b/lib/layers/LayerBaseXyzTile.js
@@ -151,5 +151,4 @@ var LayerBaseXyzTile = (function (_LayerBase) {
 })(_LayerBase3.default);
 
 nm.LayerBaseXyzTile = LayerBaseXyzTile;
-exports.default = LayerBaseXyzTile;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerBaseXyzTile;
\ No newline at end of file
diff --git a/lib/layers/LayerEsriMapServer.js b/lib/layers/LayerEsriMapServer.js
index 08153c1..5d2e6c7 100644
--- a/lib/layers/LayerEsriMapServer.js
+++ b/lib/layers/LayerEsriMapServer.js
@@ -220,5 +220,4 @@ var LayerEsriMapServer = (function (_LayerBase) {
 })(_LayerBase3.default);
 
 nm.LayerEsriMapServer = LayerEsriMapServer;
-exports.default = LayerEsriMapServer;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerEsriMapServer;
\ No newline at end of file
diff --git a/lib/layers/LayerItsInventory.js b/lib/layers/LayerItsInventory.js
index 978a93b..e756f88 100644
--- a/lib/layers/LayerItsInventory.js
+++ b/lib/layers/LayerItsInventory.js
@@ -406,5 +406,4 @@ var LayerItsInventory = (function (_LayerBaseVectorGeoJs) {
 })(_LayerBaseVectorGeoJson2.default);
 
 nm.LayerItsInventory = LayerItsInventory;
-exports.default = LayerItsInventory;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerItsInventory;
\ No newline at end of file
diff --git a/lib/layers/LayerRealEarthTile.js b/lib/layers/LayerRealEarthTile.js
index d697a03..fd15edf 100644
--- a/lib/layers/LayerRealEarthTile.js
+++ b/lib/layers/LayerRealEarthTile.js
@@ -87,5 +87,4 @@ var LayerRealEarthTile = (function (_LayerBaseXyzTile) {
 })(_LayerBaseXyzTile3.default);
 
 nm.LayerRealEarthTile = LayerRealEarthTile;
-exports.default = LayerRealEarthTile;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerRealEarthTile;
\ No newline at end of file
diff --git a/lib/layers/LayerRealEarthVector.js b/lib/layers/LayerRealEarthVector.js
index ac74044..d39aedf 100644
--- a/lib/layers/LayerRealEarthVector.js
+++ b/lib/layers/LayerRealEarthVector.js
@@ -93,5 +93,4 @@ var LayerVectorRealEarth = (function (_LayerBaseVectorGeoJs) {
 })(_LayerBaseVectorGeoJson2.default);
 
 nm.LayerVectorRealEarth = LayerVectorRealEarth;
-exports.default = LayerVectorRealEarth;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = LayerVectorRealEarth;
\ No newline at end of file
diff --git a/lib/mixin/RealEarthAnimate.js b/lib/mixin/RealEarthAnimate.js
index 10d592c..d50dcd3 100644
--- a/lib/mixin/RealEarthAnimate.js
+++ b/lib/mixin/RealEarthAnimate.js
@@ -188,5 +188,4 @@ var RealEarthAnimate = (function () {
 })();
 
 nm.RealEarthAnimate = RealEarthAnimate;
-exports.default = RealEarthAnimate;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = RealEarthAnimate;
\ No newline at end of file
diff --git a/lib/mixin/RealEarthAnimateTile.js b/lib/mixin/RealEarthAnimateTile.js
index 60effdb..16472bf 100644
--- a/lib/mixin/RealEarthAnimateTile.js
+++ b/lib/mixin/RealEarthAnimateTile.js
@@ -94,5 +94,4 @@ var RealEarthAnimateTile = (function (_RealEarthAnimate) {
 })(_RealEarthAnimate3.default);
 
 nm.RealEarthAnimateTile = RealEarthAnimateTile;
-exports.default = RealEarthAnimateTile;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = RealEarthAnimateTile;
\ No newline at end of file
diff --git a/lib/mixin/RealEarthAnimateVector.js b/lib/mixin/RealEarthAnimateVector.js
index b1084d3..8ec81c1 100644
--- a/lib/mixin/RealEarthAnimateVector.js
+++ b/lib/mixin/RealEarthAnimateVector.js
@@ -152,5 +152,4 @@ var RealEarthAnimateVector = (function (_RealEarthAnimate) {
 })(_RealEarthAnimate3.default);
 
 nm.RealEarthAnimateVector = RealEarthAnimateVector;
-exports.default = RealEarthAnimateVector;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = RealEarthAnimateVector;
\ No newline at end of file
diff --git a/lib/ol/ol.js b/lib/ol/ol.js
index 5230dce..a05bdcb 100644
--- a/lib/ol/ol.js
+++ b/lib/ol/ol.js
@@ -5,5 +5,4 @@ Object.defineProperty(exports, "__esModule", {
 });
 var ol = require('./ol-build');
 
-exports.default = ol;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = ol;
\ No newline at end of file
diff --git a/lib/olHelpers/SortedFeatures.js b/lib/olHelpers/SortedFeatures.js
index 4294b62..8e3e6f4 100644
--- a/lib/olHelpers/SortedFeatures.js
+++ b/lib/olHelpers/SortedFeatures.js
@@ -132,5 +132,4 @@ var SortedFeatures = (function () {
 })();
 
 nm.SortedFeatures = SortedFeatures;
-exports.default = SortedFeatures;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = SortedFeatures;
\ No newline at end of file
diff --git a/lib/olHelpers/mapInteractionBase.js b/lib/olHelpers/mapInteractionBase.js
index 22d93cc..63e8c67 100644
--- a/lib/olHelpers/mapInteractionBase.js
+++ b/lib/olHelpers/mapInteractionBase.js
@@ -108,5 +108,4 @@ var MapInteractionBase = (function () {
 })();
 
 nm.MapInteractionBase = MapInteractionBase;
-exports.default = MapInteractionBase;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = MapInteractionBase;
\ No newline at end of file
diff --git a/lib/olHelpers/mapMove.js b/lib/olHelpers/mapMove.js
index dfd819f..dea5824 100644
--- a/lib/olHelpers/mapMove.js
+++ b/lib/olHelpers/mapMove.js
@@ -16,6 +16,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
  */
 exports.default = new _mapMoveCls2.default(); /**
                                                * Created by gavorhes on 11/3/2015.
-                                               */
-
-module.exports = exports['default'];
\ No newline at end of file
+                                               */
\ No newline at end of file
diff --git a/lib/olHelpers/mapMoveCls.js b/lib/olHelpers/mapMoveCls.js
index d039c8e..b2a3086 100644
--- a/lib/olHelpers/mapMoveCls.js
+++ b/lib/olHelpers/mapMoveCls.js
@@ -337,5 +337,4 @@ var MapMoveCls = (function (_MapInteractionBase) {
 })(_mapInteractionBase2.default);
 
 nm.MapMoveCls = MapMoveCls;
-exports.default = MapMoveCls;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = MapMoveCls;
\ No newline at end of file
diff --git a/lib/olHelpers/mapPopup.js b/lib/olHelpers/mapPopup.js
index 54d957f..dc43be1 100644
--- a/lib/olHelpers/mapPopup.js
+++ b/lib/olHelpers/mapPopup.js
@@ -16,6 +16,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
  */
 exports.default = new _mapPopupCls2.default(); /**
                                                 * Created by gavorhes on 11/3/2015.
-                                                */
-
-module.exports = exports['default'];
\ No newline at end of file
+                                                */
\ No newline at end of file
diff --git a/lib/olHelpers/mapPopupCls.js b/lib/olHelpers/mapPopupCls.js
index 9ef60e8..4169f60 100644
--- a/lib/olHelpers/mapPopupCls.js
+++ b/lib/olHelpers/mapPopupCls.js
@@ -637,5 +637,4 @@ var MapPopupCls = (function (_MapInteractionBase) {
 })(_mapInteractionBase2.default);
 
 nm.MapPopupCls = MapPopupCls;
-exports.default = MapPopupCls;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = MapPopupCls;
\ No newline at end of file
diff --git a/lib/olHelpers/propertiesZoomStyle.js b/lib/olHelpers/propertiesZoomStyle.js
index fcf5d3f..be2c9dd 100644
--- a/lib/olHelpers/propertiesZoomStyle.js
+++ b/lib/olHelpers/propertiesZoomStyle.js
@@ -46,5 +46,4 @@ function propertiesZoomStyle(styleFunc) {
 }
 
 nm.propertiesZoomStyle = propertiesZoomStyle;
-exports.default = propertiesZoomStyle;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = propertiesZoomStyle;
\ No newline at end of file
diff --git a/lib/olHelpers/quickMap.js b/lib/olHelpers/quickMap.js
index 8dea49c..4da2f50 100644
--- a/lib/olHelpers/quickMap.js
+++ b/lib/olHelpers/quickMap.js
@@ -52,5 +52,4 @@ function quickMap(options) {
 }
 
 nm.quickMap = quickMap;
-exports.default = quickMap;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = quickMap;
\ No newline at end of file
diff --git a/lib/olHelpers/quickMapBase.js b/lib/olHelpers/quickMapBase.js
index c515f25..f33ae2c 100644
--- a/lib/olHelpers/quickMapBase.js
+++ b/lib/olHelpers/quickMapBase.js
@@ -115,5 +115,4 @@ function quickMapBase(options) {
 }
 
 nm.quickMapBase = quickMapBase;
-exports.default = quickMapBase;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = quickMapBase;
\ No newline at end of file
diff --git a/lib/olHelpers/quickMapMulti.js b/lib/olHelpers/quickMapMulti.js
index ca0462c..9276ec6 100644
--- a/lib/olHelpers/quickMapMulti.js
+++ b/lib/olHelpers/quickMapMulti.js
@@ -61,5 +61,4 @@ function quickMapMulti(options) {
 }
 
 nm.quickMapMulti = quickMapMulti;
-exports.default = quickMapMulti;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = quickMapMulti;
\ No newline at end of file
diff --git a/lib/rectangle.js b/lib/rectangle.js
index 6f8c7cf..138d70b 100644
--- a/lib/rectangle.js
+++ b/lib/rectangle.js
@@ -102,6 +102,4 @@ exports.default = Rectangle;
 //
 //// We export the Rectangle class so it can
 //// be require()'d in other files.
-//module.exports = Rectangle;
-
-module.exports = exports['default'];
\ No newline at end of file
+//module.exports = Rectangle;
\ No newline at end of file
diff --git a/lib/util/formatString.js b/lib/util/formatString.js
index e7abfc4..524d5f8 100644
--- a/lib/util/formatString.js
+++ b/lib/util/formatString.js
@@ -40,5 +40,4 @@ if (!String.prototype.format) {
     };
 }
 
-exports.default = undefined;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = undefined;
\ No newline at end of file
diff --git a/lib/util/makeGuid.js b/lib/util/makeGuid.js
index ee2e35a..8ba66e8 100644
--- a/lib/util/makeGuid.js
+++ b/lib/util/makeGuid.js
@@ -29,5 +29,4 @@ function makeGuid() {
   });
 }
 nm.makeGuid = makeGuid;
-exports.default = makeGuid;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = makeGuid;
\ No newline at end of file
diff --git a/lib/util/provide.js b/lib/util/provide.js
index 0029bd4..1b1e19c 100644
--- a/lib/util/provide.js
+++ b/lib/util/provide.js
@@ -38,5 +38,4 @@ function provide(namespace) {
 provide('util');
 window.gv.util.provide = provide;
 
-exports.default = provide;
-module.exports = exports['default'];
\ No newline at end of file
+exports.default = provide;
\ No newline at end of file
diff --git a/package.json b/package.json
index a50eaef..687ea64 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
     "ol": "node node_modules/openlayers/tasks/build.js src/ol/ol-config.json src/ol/ol-build.js",
     "lint": "eslint src/**/*.js",
     "jsdoc": "jsdoc -r -d doc src",
-    "src2lib": "babel src --out-dir lib --presets es2015 --plugins add-module-exports --ignore ol-build.js & COPY /Y src\\ol\\ol-build.js lib\\ol\\ol-build.js"
+    "src2lib": "babel src --out-dir lib --presets es2015 --ignore ol-build.js & COPY /Y src\\ol\\ol-build.js lib\\ol\\ol-build.js"
   },
   "author": "TOPS Lab",
   "license": "ISC",
-- 
GitLab