Interactive interface for browsing global, full-resolution satellite imagery
Removed all console.log lines
Mike McGannb2175c4d9ea2
diff --git a/js/bank.js b/js/bank.jsindex 600934d5d..9fe1f0906 100644--- a/js/bank.js+++ b/js/bank.js@@ -55,12 +55,12 @@ SOTE.widget.Bank = function(containerId, config){this.state = config.state;- console.log("state: " + this.state);+ //console.log("state: " + this.state);this.selected = config.selected;this.values = this.unserialize(this.selected[this.state]);this.dataSourceUrl = config.dataSourceUrl;- console.log("dataSourceUrl: " + this.dataSourceUrl);+ //console.log("dataSourceUrl: " + this.dataSourceUrl);this.title = config.title;this.callback = config.callback;this.selector = config.selector;@@ -108,9 +108,9 @@ SOTE.widget.Bank.handleMetaSuccess = function(data,status,xhr,args){/* TODO: This breaks when switching to polar projectionsvar key = data["Floods"][0].value;- console.log("Key = " + key);- console.log("Meta Label = " + self.meta[key].label);- console.log("Meta Sublabel = " + self.meta[key].sublabel);+ //console.log("Key = " + key);+ //console.log("Meta Label = " + self.meta[key].label);+ //console.log("Meta Sublabel = " + self.meta[key].sublabel);*/$.each(self.meta, function(name, meta) {if ( name in self.config.products ) {diff --git a/js/events.js b/js/events.jsindex 80db36060..54ce32a28 100644--- a/js/events.js+++ b/js/events.js@@ -6,12 +6,12 @@ SOTE.widget.Events.prototype = new SOTE.widget.Component;* Instantiate the Events widget.*/SOTE.widget.Events = function(containerId, config){- console.log("instantiating events");+ //console.log("instantiating events");this.container = document.getElementById(containerId);if(this.container == null){this.setStatus("Error: element '" + containerId + "' not found!", true);- console.log("Error: element '" + containerId + "' not found!");+ //console.log("Error: element '" + containerId + "' not found!");return;}@@ -44,14 +44,14 @@ SOTE.widget.Events = function(containerId, config){}SOTE.widget.Events.prototype.buildMeta = function() {- console.log("events: buildMeta");+ //console.log("events: buildMeta");this.buildMetaDone = false;// TODO: get JSONSOTE.widget.Events.handleMetaSuccess(this);};SOTE.widget.Events.handleMetaSuccess = function(arg) {- console.log("events: handleMetaSuccess");+ //console.log("events: handleMetaSuccess");var self = arg;// TODO: replace with actual JSON data@@ -109,7 +109,7 @@ SOTE.widget.Events.handleMetaSuccess = function(arg) {};SOTE.widget.Events.prototype.init = function() {- console.log("events: init");+ //console.log("events: init");this.buildMeta();if(REGISTRY) {@@ -122,9 +122,9 @@ SOTE.widget.Events.prototype.init = function() {};SOTE.widget.Events.prototype.render = function() {- console.log("events: render");- console.log("meta[0].title = " + this.meta[0].title);- console.log("metaLength = " + this.metaLength);+ //console.log("events: render");+ //console.log("meta[0].title = " + this.meta[0].title);+ //console.log("metaLength = " + this.metaLength);this.container.innerHTML = "";var container = document.createElement("div");@@ -233,7 +233,7 @@ SOTE.widget.Events.prototype.render = function() {**/SOTE.widget.Events.prototype.fire = function(){- console.log("events: fire");+ //console.log("events: fire");if(REGISTRY){REGISTRY.fire(this);}@@ -251,7 +251,7 @@ SOTE.widget.Events.prototype.fire = function(){**/SOTE.widget.Events.prototype.setStatus = function(s){- console.log("events: setStatus");+ //console.log("events: setStatus");this.statusStr = s;};@@ -263,6 +263,6 @@ SOTE.widget.Events.prototype.setStatus = function(s){**/SOTE.widget.Events.prototype.getStatus = function(){- console.log("events: getStatus");+ //console.log("events: getStatus");return this.statusStr;};\ No newline at end of filediff --git a/js/main.js b/js/main.jsindex b40a8ba93..2a5a5bb47 100644--- a/js/main.js+++ b/js/main.js@@ -16,7 +16,7 @@ $(function() {// Initialize "static" vars};var entryPoint = function() {- console.log("entryPoint");+ //console.log("entryPoint");Worldview.Support.quirks();var query = Worldview.queryStringToObject(location.search);@@ -42,7 +42,7 @@ $(function() {// Initialize "static" varsvar init = function(config) {checkMobile();- console.log("init");+ //console.log("init");Worldview.Map.tileScheduler = Worldview.Scheduler({script: "js/Worldview/Map/TileWorker.js?v=" +Worldview.BUILD_TIMESTAMP,diff --git a/js/sote.js b/js/sote.jsindex 1534fa8b5..31013ad8e 100644--- a/js/sote.js+++ b/js/sote.js@@ -40,7 +40,7 @@ function showSelector(e){*//*function closeSelector(e){- console.log("close selector");+ //console.log("close selector");var selector = e.data.selector;// force center@@ -49,8 +49,8 @@ function closeSelector(e){var selWidth = parseInt(YAHOO.util.Dom.getStyle(myid, 'width'), 10);var newX = (viewWidth - selWidth)/2;YAHOO.util.Dom.setX(myid, newX);- console.log("selWidth = " + selWidth);- console.log("newX = " + 0);+ //console.log("selWidth = " + selWidth);+ //console.log("newX = " + 0);}*/function showOverlay(){