Last active
June 1, 2022 06:28
-
-
Save matzeeable/fe9f40b19bb1e9b3e21232fb4059f69c to your computer and use it in GitHub Desktop.
Revisions
-
matzeeable revised this gist
May 2, 2022 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,6 @@ function restoreNativeFunctionFromPolyfillOverride(callback) { var e = d.createElement("iframe"); e.style.display = "none"; dE.appendChild(e); callback(window, e.contentWindow); dE.removeChild(e); } -
matzeeable created this gist
May 2, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ function restoreNativeFunctionFromPolyfillOverride(callback) { var d = document; var dE = d.documentElement; var e = d.createElement("iframe"); e.style.display = "none"; dE.appendChild(e); //window.Array.from = e.contentWindow.Array.from; callback(window, e.contentWindow); dE.removeChild(e); } restoreNativeFunctionFromPolyfillOverride(function(w, c) { w.Array.from = c.Array.from; });