mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
Merge pull request #248 from lorenzhs/fix-base64
JS Resolver API: Wrap base64 functions
This commit is contained in:
commit
78f2f321d5
@ -419,5 +419,5 @@ Tomahawk.hmac = function (key, message) {
|
||||
// some aliases
|
||||
Tomahawk.setTimeout = Tomahawk.setTimeout || window.setTimeout;
|
||||
Tomahawk.setInterval = Tomahawk.setInterval || window.setInterval;
|
||||
Tomahawk.base64Decode = window.atob;
|
||||
Tomahawk.base64Encode = window.btoa;
|
||||
Tomahawk.base64Decode = function(a) { return window.atob(a); };
|
||||
Tomahawk.base64Encode = function(b) { return window.btoa(b); };
|
||||
|
Loading…
x
Reference in New Issue
Block a user