mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
07f36cf7cb
Fixed sprite scaling bug
15 lines
406 B
JavaScript
15 lines
406 B
JavaScript
var rawFile = new XMLHttpRequest();
|
|
rawFile.open("GET", '/pixel-editor/latestLog.html', false);
|
|
rawFile.onreadystatechange = function ()
|
|
{
|
|
if(rawFile.readyState === 4)
|
|
{
|
|
if(rawFile.status === 200 || rawFile.status == 0)
|
|
{
|
|
var allText = rawFile.responseText;
|
|
|
|
document.getElementById("latest-update").innerHTML = allText;
|
|
}
|
|
}
|
|
}
|
|
rawFile.send(null); |