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
rodzic 65407a29d0
commit 0bfb5bd0c8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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