mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Make all arguments to init*Event() optional except the first
This resolves #810.
This commit is contained in:
parent
c582c801da
commit
faa1c5c0af
20 changed files with 175 additions and 169 deletions
|
|
@ -15,13 +15,13 @@ interface XULCommandEvent : UIEvent
|
|||
readonly attribute Event? sourceEvent;
|
||||
|
||||
void initCommandEvent(DOMString type,
|
||||
boolean canBubble,
|
||||
boolean cancelable,
|
||||
Window? view,
|
||||
long detail,
|
||||
boolean ctrlKey,
|
||||
boolean altKey,
|
||||
boolean shiftKey,
|
||||
boolean metaKey,
|
||||
Event? sourceEvent);
|
||||
optional boolean canBubble = false,
|
||||
optional boolean cancelable = false,
|
||||
optional Window? view = null,
|
||||
optional long detail = 0,
|
||||
optional boolean ctrlKey = false,
|
||||
optional boolean altKey = false,
|
||||
optional boolean shiftKey = false,
|
||||
optional boolean metaKey = false,
|
||||
optional Event? sourceEvent = null);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue