From 61d5513525fa3c484cb2d277f39b971edbb605ef Mon Sep 17 00:00:00 2001 From: Zaven Muradyan Date: Sun, 14 Oct 2018 20:55:04 -0700 Subject: 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. --- platform/javascript/engine.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'platform/javascript/engine.js') diff --git a/platform/javascript/engine.js b/platform/javascript/engine.js index c3ef5bbbb5..91458eb4c3 100644 --- a/platform/javascript/engine.js +++ b/platform/javascript/engine.js @@ -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; -- cgit v1.2.3