mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 23:28:59 +00:00
classref: Sync with current master branch (46a568e0a)
This commit is contained in:
@@ -12,12 +12,12 @@ JavaScript
|
||||
|
||||
**Inherits:** :ref:`Object<class_Object>`
|
||||
|
||||
Singleton that connects the engine with the browser's JavaScript context in HTML5 export.
|
||||
Singleton that connects the engine with the browser's JavaScript context in Web export.
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
The JavaScript singleton is implemented only in the HTML5 export. It's used to access the browser's JavaScript context. This allows interaction with embedding pages or calling third-party JavaScript APIs.
|
||||
The JavaScript singleton is implemented only in the Web export. It's used to access the browser's JavaScript context. This allows interaction with embedding pages or calling third-party JavaScript APIs.
|
||||
|
||||
\ **Note:** This singleton can be disabled at build-time to improve security. By default, the JavaScript singleton is enabled. Official export templates also have the JavaScript singleton enabled. See :doc:`Compiling for the Web <../development/compiling/compiling_for_web>` in the documentation for more information.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user