Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Removed dead code

Mike McGann5ff473dcce66
diff --git a/src/js/bank.js b/src/js/bank.js
index cc1f786d1..06a1af4cb 100644
--- a/src/js/bank.js
+++ b/src/js/bank.js
@@ -687,12 +687,6 @@ SOTE.widget.Bank.prototype.unserialize = function(string, selector){
*/
SOTE.widget.Bank.prototype.updateComponent = function(querystring){
var qs = (querystring === undefined)? "":querystring;
- /*SOTE.util.getJSON(
- this.dataSourceUrl+"?"+querystring,
- {self:this,qs:querystring},
- SOTE.widget.Bank.handleUpdateSuccess,
- SOTE.widget.Bank.handleUpdateFailure
- );*/
SOTE.widget.Bank.handleUpdateSuccess(this,qs);
};
@@ -757,7 +751,6 @@ SOTE.widget.Bank.prototype.loadFromQuery = function(qs){
this.updateComponent(qs);
}
else {
- //this.sleep(SOTE.util.extractFromQuery(this.id,qs));
SOTE.widget.Bank.loadValue({
self: this,
val: SOTE.util.extractFromQuery(this.id, qs)
diff --git a/src/js/selector.js b/src/js/selector.js
index 89a5c1402..fb585296a 100644
--- a/src/js/selector.js
+++ b/src/js/selector.js
@@ -87,14 +87,6 @@ SOTE.widget.Selector.prototype.loadData = function(){
SOTE.widget.Selector.handleLoadSuccess(data, null, null, {
self: this
});
- /*
- SOTE.util.getJSON(
- "data/" + this.state + "_" + this.dataSourceUrl,
- {self:this},
- SOTE.widget.Selector.handleLoadSuccess,
- SOTE.widget.Selector.handleUpdateFailure
- );
- */
};
SOTE.widget.Selector.handleLoadSuccess = function(data,status,xhr,args){