You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
[HTML5] Refactor JS, threads support, closures.
- Refactored the Engine code, splitted across files. - Use MODULARIZE option to build emscripten code into it's own closure. - Enable lto support (saves ~2MiB in release). - Enable optional closure compiler pass for JS and generated code. - Enable optional pthreads support. - Can now build with tools=yes (not much to see yet). - Dropped some deprecated code for older toolchains.
This commit is contained in:
3
platform/javascript/engine/externs.js
Normal file
3
platform/javascript/engine/externs.js
Normal file
@@ -0,0 +1,3 @@
|
||||
var Godot;
|
||||
var WebAssembly = {};
|
||||
WebAssembly.instantiate = function(buffer, imports) {};
|
||||
Reference in New Issue
Block a user