Created
January 22, 2018 15:45
-
-
Save JakeTheCorn/3cef2ea33bf89c11bb219a2e6286de96 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
function IE_Wrapper(fn) { | |
return function(...params) { | |
if (window.ActiveXObject || 'ActiveXObject' in window) { | |
fn(...params); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment