Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Merge branch 'modularize-utils' of https://github.com/nasa-gibs/worldview into module-loader-b-1

Benjamin Kingd1258b0db60e
diff --cc web/js/index.js
index 234802f74,a8d5a2ba7..dacd5609b
--- a/web/js/index.js
+++ b/web/js/index.js
@@@ -1,2 -1,3 +1,4 @@@
- export { default as stub } from './stub';
- export { parse as mapParser } from './map/wv.map.js';
+ export { stub, stub2 } from './stub';
+ export { polyfill } from './polyfill';
+ export { util } from './util/util';
++export { parse } from './map/wv.map.js';
diff --cc web/js/stub.js
index 13e0b7ebb,abb7db0dd..ef0d1ebe1
--- a/web/js/stub.js
+++ b/web/js/stub.js
@@@ -1,10 -1,12 +1,13 @@@
/* This file is just a stub to test the browserify build task */
--
- import { jQuery as $ } from 'jquery';
+ import $ from 'jquery';
-import GA from 'worldview-components';
+import { DateSelector } from 'worldview-components';
+import { parse as mapParser } from './map/wv.map';
+import builder from './map/wv.map.datelinebuilder';
-export function stub() {
- console.log($, GA);
+export default function () {
+ console.log($, DateSelector, mapParser, builder);
};
+
+ export const stub2 = (function() {
+ return 'stub';
+ })();