Merge pull request #266 from andygup/gh-pages

Update gh-pages
This commit is contained in:
Andy 2014-10-14 17:38:00 -06:00
commit 4e697edfb2
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,8 @@
# offline-editor-js - Changelog
## Version 2.3.1.1 - Oct 14, 2014
- Minor wording change in tpk-layer.html sample to better describe changing TPK file type to .zip in order for it to work correctly.
## Version 2.3.1 - Oct 14, 2014
- Fixes NPM version for current NPM (requires patch version)
- Fixes issue with JPEG-based TPKs where tiles were not completely read from the TPK buffer, resulting in an incomplete image.

View File

@ -55,7 +55,8 @@
<div class="container">
<div class="well blackBack">
<h4>Browse for a zipped .TPK file locally or retrieve a URL</h4>
<h4>Browse for a .TPK file locally or retrieve one via URL</h4>
<p>You'll need to rename the file type from .tpk to .zip</p>
</div>
<!-- We provide two input types for demonstration purposes. Choose whichever one you want. -->
<div class="row">
@ -135,7 +136,10 @@
console.log("Begin downloading remote tpk file...")
}
xhrRequest.error = function(err){console.log("ERROR")}
xhrRequest.error = function(err){
console.log("ERROR retrieving TPK file: " + err.toString());
alert("There was a problem retrieve the file.");
}
xhrRequest.onload = function(oEvent) {
if(this.status == 200) {