Created
October 2, 2018 11:21
-
-
Save AaronNGray/6bdbaa1ee9ca3fb818ec85e28cc75231 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Copyright (c) 2018 Aaron Nathaniel Gray --> | |
<script> | |
document.addEventListener('WebComponentsReady', function() { | |
console.log("WebComponentsReady", Math.round(performance.now())); | |
document.body.appendChild( | |
document.createTextNode("WebComponentsReady: " + Math.round(performance.now()) + "ms") | |
); | |
document.body.appendChild(document.createElement("br")); | |
}); | |
document.addEventListener('DOMContentLoaded', function() { | |
console.log("DOMContentLoaded", Math.round(performance.now())); | |
document.body.appendChild( | |
document.createTextNode("DOMContentLoaded: " + Math.round(performance.now()) + "ms") | |
); | |
document.body.appendChild(document.createElement("br")); | |
}); | |
</script> | |
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.1.3/webcomponents-bundle.js"></script> | |
</head> | |
<body> | |
<h2>Hit F12 for Edge error.</h2> | |
SCRIPT438: Object doesn't support property or method 'bind' - extended-css.js (406,1) | |
<h2>Events</h2> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment