diff --git a/doc/classes/JavaScriptObject.xml b/doc/classes/JavaScriptObject.xml index 7132cc5cad5..a17b488e7f9 100644 --- a/doc/classes/JavaScriptObject.xml +++ b/doc/classes/JavaScriptObject.xml @@ -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():