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
rodič 65407a29d0
revize 0bfb5bd0c8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

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