Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed a check for invalid cache, which doesn't seem to work with al…

…l server software
  • Loading branch information...
commit 88b718f2d00c850559b02d88532d3f2ed3c55906 1 parent ae10ac4
@ingemaradahl ingemaradahl authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/ResourceDepot.js
View
9 src/ResourceDepot.js
@@ -463,14 +463,7 @@ function loadJSON(file, callback) {
if (request.status == 404)
console.log("ERROR: file '" + file + "' does not exist!");
else {
- var len = request.getResponseHeader("Content-Length");
- if (len && request.responseText.length !== parseInt(len)) {
- console.log(len, request.responseText.length);
- alert("An error occured while downloading Emberwind, please clear your cache and try again.");
- }
- else {
- callback(request.responseText);
- }
+ callback(request.responseText);
}
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.