-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sanjaiyan-async-concurrent
- Loading branch information
Showing
95 changed files
with
4,095 additions
and
1,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<style> | ||
div#blue { | ||
background-color: blue; | ||
height: 300px; | ||
color: white; | ||
width: 100%; | ||
} | ||
div#red { | ||
background-color: red; | ||
height: 10px; | ||
width: 100%; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Rubik Broken Fax'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: url(RubikBrokenFax-Regular.ttf?delay=2000); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
h1 { | ||
font-family: 'Rubik Broken Fax', sans-serif; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- Do many to stack up the shifts from the font change. --> | ||
<h1>Shift attribution</h1> | ||
<h1>Shift attribution</h1> | ||
<h1>Shift attribution</h1> | ||
<h1>Shift attribution</h1> | ||
<h1>Shift attribution</h1> | ||
<h1>Shift attribution</h1> | ||
|
||
<div class="iframe-slot"></div> | ||
|
||
<img src="launcher-icon-100x100.png?delay=3000"> | ||
<div id="red"></div> | ||
<div id="blue">app goes here</div> | ||
<script src="shift-attribution.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
let i = 0; | ||
const handle = setInterval(function() { | ||
if (i === 0) { | ||
document.querySelector('#red').style.height = 500; | ||
} else if (i === 1) { | ||
const iframeEl = document.createElement('iframe'); | ||
iframeEl.src = 'simple-page.html'; | ||
document.querySelector('.iframe-slot').append(iframeEl); | ||
} else { | ||
clearInterval(handle); | ||
} | ||
|
||
i++; | ||
}, 500); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.