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

This commit is contained in:
AJ ONeal 2012-02-20 14:44:50 -07:00
parent 0eb1226e1d
commit 13ac655b1c
1 changed files with 1 additions and 1 deletions

View File

@ -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;