Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 "use strict"; | 1 "use strict"; |
2 | 2 |
3 GLOBAL.atob = data => new Buffer(data, "base64").toString("binary"); | 3 GLOBAL.atob = data => new Buffer(data, "base64").toString("binary"); |
Wladimir Palant
2016/09/25 13:02:28
Define btoa as well, for consistency?
kzar
2016/09/25 13:19:03
Done.
| |
4 GLOBAL.btoa = data => new Buffer(data, "binary").toString("base64"); | |
5 GLOBAL.navigator = {}; | |
4 | 6 |
5 require("node-babel")(); | 7 require("node-babel")(); |
6 | 8 |
7 require("./node_modules/.bin/nodeunit"); | 9 require("./node_modules/.bin/nodeunit"); |
LEFT | RIGHT |