mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-03 14:47:47 +02:00
minor correction to testcase
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
window.getDetails = function (url, id) {
|
window.getDetails = function (url, id) {
|
||||||
$.getJSON(url, function(data) {
|
$.getJSON(url, function(data) {
|
||||||
element = document.getElementById(id);
|
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>
|
</script>
|
||||||
|
Reference in New Issue
Block a user