Open starquake opened 9 years ago
I found this: http://www.webtoolkit.info/javascript-base64.html
That's probably what you used to create the decode function. Can you use that? If you want I could try making a pull request. If you are willing to include it.
I made a pull request to the right repository here: https://github.com/cocos2d/cocos2d-html5/pull/2717
Thanks @starquake, @dingpinglv will review it soon.
I really searched around carefully before creating this issue but I can not find it and I need it to authenticate to my rest service with XHR.