Interactive interface for browsing global, full-resolution satellite imagery
Combined debug.js back with the rest of code. Delayed loading might happen in a later version
Mike McGannafb4b9b105a8
diff --git a/Gruntfile.js b/Gruntfile.jsindex a146025a1..d203b880c 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -17,9 +17,13 @@ var buildTimestamp = moment.utc().format("MMMM DD, YYYY [-] HH:mm [UTC]");// Append to all URI references for cache bustingvar buildNonce = moment.utc().format("YYYYMMDDHHmmssSSS");-// If being built with Jenkins, include the build number in artifacts+// If being built with Jenkins or Bamboo, include the build number in artifactsvar buildNumber = ( process.env.BUILD_NUMBER )? "." + process.env.BUILD_NUMBER : "";+if ( !buildNumber ) {+ buildNumber = ( process.env["bamboo.buildNumber"] )+ ? "." + process.env["bamboo.buildNumber"] : "";+}module.exports = function(grunt) {@@ -311,10 +315,6 @@ module.exports = function(grunt) {src: wvJs["wv.js"],dest: "build/<%=pkg%>-debug/web/js/wv.js",},- wv_debug_js: {- src: wvJs["wv.debug.js"],- dest: "build/<%=pkg%>-debug/web/js/wv.debug.js"- },// Combine all the Worldview CSS files into one file.wv_css: {src: wvCss,@@ -331,9 +331,6 @@ module.exports = function(grunt) {files: {"build/<%=pkg%>/web/js/wv.js": ["build/<%=pkg%>-debug/web/js/wv.js"- ],- "build/<%=pkg%>/web/js/wv.debug.js": [- "build/<%=pkg%>-debug/web/js/wv.debug.js"]}}@@ -423,7 +420,6 @@ module.exports = function(grunt) {"build/<%=pkg%>-debug/web/**/*.js","!build/<%=pkg%>-debug/web/css/wv.css","!build/<%=pkg%>-debug/web/js/wv.js",- "!build/<%=pkg%>-debug/web/js/wv.debug.js","!build/<%=pkg%>-debug/web/css/bulkDownload.css","!build/<%=pkg%>-debug/web/js/map/wv.map.tileworker.js","!build/<%=pkg%>-debug/web/ext/**/*"diff --git a/etc/deploy/wv.js.json b/etc/deploy/wv.js.jsonindex 25fefc584..1c3b214c7 100644--- a/etc/deploy/wv.js.json+++ b/etc/deploy/wv.js.json@@ -54,9 +54,7 @@"src/js/link/wv.link.ui.js","src/js/wv.tour.js",+ "src/js/wv.debug.js","src/js/wv.main.js"- ],- "wv.debug.js": [- "src/js/wv.debug.js"]}diff --git a/src/index.html b/src/index.htmlindex 95a8cfee6..53f06fd3d 100644--- a/src/index.html+++ b/src/index.html@@ -92,8 +92,8 @@<!-- External libraries =============================================== -->- <!-- link.dev --> <script type="text/javascript" src="ext/main/yepnope-1.5.4/yepnope.js"></script>- <!-- link.prod --> <!-- <script type="text/javascript" src="ext/main/yepnope-1.5.4/yepnope.min.js"></script> -->+ <!-- link.dev --> <!-- <script type="text/javascript" src="ext/main/yepnope-1.5.4/yepnope.js"></script> -->+ <!-- link.dev --> <!-- <script type="text/javascript" src="ext/main/yepnope-1.5.4/yepnope.min.js"></script> --><!-- link.dev --> <script type="text/javascript" src="ext/main/lodash-2.4.1/lodash.js"></script><!-- link.prod --> <!-- <script type="text/javascript" src="ext/main/lodash-2.4.1/lodash.min.js"></script> -->diff --git a/src/js/wv.main.js b/src/js/wv.main.jsindex 69e49e4ee..87a767e22 100644--- a/src/js/wv.main.js+++ b/src/js/wv.main.js@@ -24,11 +24,14 @@ $(function() {elapsed = function() {};}elapsed("start");+ /* May be included in next versionyepnope({test: parameters.debug,yep: ['js/wv.debug.js'],complete: loadConfig});+ */+ loadConfig();};var loadConfig = function() {