mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
minor tweaks
This commit is contained in:
parent
bf582bffff
commit
6a8c1e2a95
@ -198,8 +198,8 @@ define([
|
||||
},
|
||||
|
||||
/**
|
||||
* Recursive function for pulling out individual files from the .tpk/zip and storing
|
||||
* them in an array.
|
||||
* Function for pulling out individual files from the .tpk/zip and storing
|
||||
* them in memory.
|
||||
* @param files
|
||||
* @param callback
|
||||
* @private
|
||||
@ -280,7 +280,7 @@ define([
|
||||
var reader = new FileReader();
|
||||
reader.token = data.token;
|
||||
reader.onerror = function (event) {
|
||||
console.error(new Error("_parseInMemFiles Error: " + event.target.error.code).stack);
|
||||
console.error(new Error("_unzipTileFiles Error: " + event.target.error.code).stack);
|
||||
context.emit(context.PARSING_ERROR, {msg: "Error parsing file: ", err: event.target.error});
|
||||
}
|
||||
reader.addEventListener("loadend", function (evt) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user