1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +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.
This commit is contained in:
Zaven Muradyan
2018-10-14 20:55:04 -07:00
parent 451e5fd051
commit 61d5513525
2 changed files with 6 additions and 0 deletions

View File

@@ -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.