Revert "Not using the deprecated / broken api (assuming that it was working before)"

This reverts commit 13ac655b1c256140f20be89e84c605e32feac580.
This commit is contained in:
AJ ONeal 2012-02-20 14:46:43 -07:00
parent 0bfb5bd0c8
commit 93f1bdea38
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
"use strict";
function atob(str) {
return new Buffer(str).toString('base64');
return new Buffer(str, 'base64').toString('utf8');
}
module.exports = atob;