Skip to content
Snippets Groups Projects
Commit 6a290b4b authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Clarify that dispatchEvent() adds to the end of the run queue

parent a1797cc6
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1834 passed
...@@ -1481,7 +1481,7 @@ static jsSyncMethodSpec js_functions[] = { ...@@ -1481,7 +1481,7 @@ static jsSyncMethodSpec js_functions[] = {
,31802 ,31802
}, },
{"dispatchEvent", js_dispatchEvent, 1, JSTYPE_VOID, JSDOCSTR("eventName [, thisObj]") {"dispatchEvent", js_dispatchEvent, 1, JSTYPE_VOID, JSDOCSTR("eventName [, thisObj]")
,JSDOCSTR("Add all listeners of eventName to the runqueue. If obj is passed, specifies this in the callback (the js object is used otherwise).") ,JSDOCSTR("Add all listeners of eventName to the end of the runqueue. If obj is passed, specifies this in the callback (the js object is used otherwise).")
,31802 ,31802
}, },
{"setImmediate", js_setImmediate, 1, JSTYPE_VOID, JSDOCSTR("callback[, thisObj]") {"setImmediate", js_setImmediate, 1, JSTYPE_VOID, JSDOCSTR("callback[, thisObj]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment