Created
April 25, 2015 01:01
-
-
Save Fire-/fba04a6352f73a191238 to your computer and use it in GitHub Desktop.
don't look at me I'm terrible
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
decoded = (function (string) { | |
try { | |
return decodeURIComponent(string); | |
} catch (e) { | |
return unescape(string); | |
} | |
})(encoded); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment