Created
May 7, 2013 08:25
-
-
Save toruta39/5531073 to your computer and use it in GitHub Desktop.
Conditional comment for supporting `window.btoa` and `window.atob` on *lte IE 9*
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
<!--[if lte IE 9]> | |
<script src="https://stringencoders.googlecode.com/svn/trunk/javascript/base64.js"></script> | |
<script> | |
if (!window.btoa) window.btoa = base64.encode; | |
if (!window.atob) window.atob = base64.decode; | |
</script> | |
<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment