You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
Add comments to javascript wrapper parts.
The code in pre.js and engine.js is a bit confusing to see in isolation,
since the files aren't valid JS files by themselves. This just adds some
explanatory text to both files.
Fixes #22937.
(cherry picked from commit 61d5513525)
This commit is contained in:
committed by
Rémi Verschelde
parent
8b895dda3e
commit
27f606db1b
@@ -1,3 +1,6 @@
|
||||
// The following is concatenated with generated code, and acts as the end
|
||||
// of a wrapper for said code. See pre.js for the other part of the
|
||||
// wrapper.
|
||||
exposedLibs['PATH'] = PATH;
|
||||
exposedLibs['FS'] = FS;
|
||||
return Module;
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
var Engine = {
|
||||
RuntimeEnvironment: function(Module, exposedLibs) {
|
||||
// The above is concatenated with generated code, and acts as the start of
|
||||
// a wrapper for said code. See engine.js for the other part of the
|
||||
// wrapper.
|
||||
|
||||
Reference in New Issue
Block a user