mirror of
https://github.com/godotengine/godot.git
synced 2024-12-04 01:52:56 +00:00
Merge pull request #75483 from PoolloverNathan/patch-1
Update outdated syntax in `JavaScriptBridge` doc
This commit is contained in:
commit
dad480e7be
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
extends Node
|
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")
|
var console = JavaScriptBridge.get_interface("console")
|
||||||
|
|
||||||
func _init():
|
func _init():
|
||||||
|
Loading…
Reference in New Issue
Block a user