mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix internal Emscripten JS API calls
Emscripten 1.37.24 no longer exports these by default
This commit is contained in:
2
misc/dist/html/default.html
vendored
2
misc/dist/html/default.html
vendored
@@ -350,7 +350,7 @@ $GODOT_HEAD_INCLUDE
|
||||
};
|
||||
|
||||
function printError(text) {
|
||||
if (!text.startsWith('**ERROR**: ')) {
|
||||
if (!String.prototype.trim.call(text).startsWith('**ERROR**: ')) {
|
||||
text = '**ERROR**: ' + text;
|
||||
}
|
||||
print(text);
|
||||
|
||||
Reference in New Issue
Block a user