comments and post AMD clean-up

This commit is contained in:
Javier Abadia 2014-01-21 23:52:31 +01:00
parent b1726ba880
commit 1bbaad5cea

View File

@ -542,6 +542,7 @@ define(["vendor/offline/offline.min", "edit/OfflineUtils"], function(offline, Of
* @private
*/
this._deleteObjectIdTempLocalStore = function(/* String */ objectId,callback){
// jabadia: who calls this?
var success = false;
var localStore = localStorage.getItem(this._localEnum().STORAGE_KEY);
if(localStore != null){
@ -571,6 +572,7 @@ define(["vendor/offline/offline.min", "edit/OfflineUtils"], function(offline, Of
* @returns Boolean returns true if no errors in deleting
* @private
*/
// jabadia: who calls this?
this._deleteItemTempLocalStore = function(/* String */ entry,callback){
var newArr = [];
var success = false;
@ -892,18 +894,6 @@ define(["vendor/offline/offline.min", "edit/OfflineUtils"], function(offline, Of
}.bind(this));
}
/**
* Load src
* TO-DO: Needs to be made AMD compliant!
* @param urlArray
* @param callback
* @private
*/
this._loadScripts = function(/* Array */ urlArray, callback)
{
return;
}
this._parseFeatureLayers = function(/* Event */ map){
var layerIds = map.graphicsLayerIds;
try{
@ -945,7 +935,7 @@ define(["vendor/offline/offline.min", "edit/OfflineUtils"], function(offline, Of
this._startOfflineListener();
}
}
}.bind(this)() /* called immediately!! */
}.bind(this)() /* self-called immediately when creating a new OfflineStore() */
/**
* Allow application builders to detect potential fatal events that