Skip to content

Commit

Permalink
Not using the deprecated / broken api (assuming that it was working b…
Browse files Browse the repository at this point in the history
…efore)
  • Loading branch information
AJ ONeal committed Feb 20, 2012
1 parent 0eb1226 commit 13ac655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atob/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"use strict";

function atob(str) {
return new Buffer(str, 'base64').toString('utf8');
return new Buffer(str).toString('base64');
}

module.exports = atob;
Expand Down

0 comments on commit 13ac655

Please sign in to comment.