1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-04-22 18:01:55 +02:00

minor correction to testcase

This commit is contained in:
Mikael Roos 2015-03-06 12:35:23 +01:00
parent 70c83455e2
commit 8a7a056694

View File

@ -11,7 +11,7 @@
window.getDetails = function (url, id) {
$.getJSON(url, function(data) {
element = document.getElementById(id);
element.innerHTML = "filename: " + data.filename + "\ncolors: " + data.colors + "\nsize: " + data.size + "\nwidth: " + data.width + "\nheigh: " + data.height + "\naspect-ratio: " + data.aspectRatio;
element.innerHTML = "filename: " + data.filename + "\nmime type: " + data.mimeType + "\ncolors: " + data.colors + "\nsize: " + data.size + "\nwidth: " + data.width + "\nheigh: " + data.height + "\naspect-ratio: " + data.aspectRatio;
});
}
</script>