Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 0745140

Browse files
committed
Merge pull request #30 from nabetama/dev/initMouseEvent.is.deprecated
"initMouseEvent()" has been removed from the Web standards.
2 parents 91b5f3b + 91b82f9 commit 0745140

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎public/stage4/tests.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ describe('ステージ4(意図通りにイベントを利用できる)', fun
103103

104104
function createClickEvent() {
105105
var event = document.createEvent('MouseEvents');
106-
event.initMouseEvent('click', true, true, window,
107-
0, 0, 0, 80, 20, false, false, false, false, 0, null);
106+
event.initEvent('click', false, true);
108107
return event;
109108
}
110109

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /