mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
comments and post AMD clean-up
This commit is contained in:
parent
b1726ba880
commit
1bbaad5cea
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user