External Android saves (contains SAYGEX)
This commit is contained in:
parent
712bda02f4
commit
2d95a8cf81
5 changed files with 73 additions and 47 deletions
|
@ -348,6 +348,9 @@ require.libs.fs = {
|
|||
},
|
||||
|
||||
readFile: function (path, callback) {
|
||||
if (path.startsWith(".") && !path.startsWith("./")) {
|
||||
path = "./" + path.substr(1);
|
||||
}
|
||||
let xhr = new XMLHttpRequest();
|
||||
xhr.responseType = "arraybuffer";
|
||||
xhr.open("GET", path, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue