mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 00:43:46 +00:00
[HTML5] Libraries refactor for linting.
Initial work to make liniting easier. This includes: - Rename http_request.js to library_godot_http_request.js. - Rename externs.js to engine.externs.js. - New library_godot_runtime.js (GodotRuntime) wraps around emscripten functions. - Refactor of XMLHttpRequest handler in engine/preloader.js. - Few fixes to bugs spotted by early stage linting.
This commit is contained in:
parent
48049b8d9e
commit
a82f70ea9f
16 changed files with 487 additions and 378 deletions
3
platform/javascript/js/engine/engine.externs.js
Normal file
3
platform/javascript/js/engine/engine.externs.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
var Godot;
|
||||
var WebAssembly = {};
|
||||
WebAssembly.instantiate = function(buffer, imports) {};
|
Loading…
Add table
Add a link
Reference in a new issue