Skip to content

Commit

Permalink
Undefine requestIdleCallback in the code mirror test for consistency. (
Browse files Browse the repository at this point in the history
…#241)

We can undo this change once Safari / WebKit adds the support for requestIdleCallback.
  • Loading branch information
rniwa committed Jun 18, 2023
1 parent 0b89992 commit 4e13390
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/editors/codemirror.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/style.css" />
<title>CodeMirror Test</title>
<script>
window.requestIdleCallback = undefined;
window.cancelIdleCallback = undefined;
</script>
</head>
<body>
<div id="app">
Expand Down

0 comments on commit 4e13390

Please sign in to comment.