| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 "use strict"; | 1 "use strict"; |
| 2 | 2 |
| 3 GLOBAL.atob = data => new Buffer(data, "base64").toString("binary"); | |
| 4 GLOBAL.btoa = data => new Buffer(data, "binary").toString("base64"); | |
| 5 GLOBAL.navigator = {}; | |
| 6 | |
| 3 require("node-babel")(); | 7 require("node-babel")(); |
| 4 | 8 |
| 5 require("./node_modules/.bin/nodeunit"); | 9 require("./node_modules/.bin/nodeunit"); |
| OLD | NEW |