new XMLHttpRequest is not supported anymore.
-
hello !
like said in the title the:var xhr = new XMLHttpRequest();
return an error: new is not supported anymore {SW50ZXJmYWNlfHwxMDd8NXwxOQ==}
???
how to fix it ?
thanks.
-
@staiff I don't think XMLHttpRequest was ever supported in HISE. And you shouldn't be using
var
unless it's inside a paint routine.But that error is telling you that the
new
keyword is not supported by HISE. Remember HISEScript != Javascript. -
https://developer.mozilla.org/fr/docs/Learn/JavaScript/Objects/JSON
https://www.kirupa.com/html5/check_if_internet_connection_exists_in_javascript.htm
seems to be javascript ;)
i think, like you, that it's just unsuported by Hise ... :(
-
@staiff HISE Script is not Javascript - it's just very similar :)
-
yes.
it's just "Hart's" script linguage :D :D :D
-
Wait until you get my version of C soon :)
-
@Christoph-Hart said in new XMLHttpRequest is not supported anymore.:
Wait until you get my version of C soon :)
D'you working on Visual Studio?
-
No, I am working on a little secret side project right now :)
-
@Christoph-Hart said in new XMLHttpRequest is not supported anymore.:
No, I am working on a little secret side project right now :)
Ok ;)