Merge pull request #75483 from PoolloverNathan/patch-1

Update outdated syntax in `JavaScriptBridge` doc
This commit is contained in:
Yuri Sizov 2023-05-30 13:59:03 +02:00 committed by GitHub
commit dad480e7be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
[codeblock]
extends Node
var _my_js_callback = JavaScriptBridge.create_callback(self, "myCallback") # This reference must be kept
var _my_js_callback = JavaScriptBridge.create_callback(myCallback) # This reference must be kept
var console = JavaScriptBridge.get_interface("console")
func _init():