Browse Source

Remove arrow function

pull/2/head
Luke Childs 9 years ago
parent
commit
253edbd1c0
  1. 6
      src/index.js

6
src/index.js

@ -1,4 +1,8 @@
global.window = require('jsdom').jsdom('<html><body></body></html>').defaultView;
Object.keys(window).forEach(prop => !global[prop] && (global[prop] = window[prop]));
Object.keys(window).forEach(function(prop) {
if(!global[prop]) {
global[prop] = window[prop];
}
});
module.exports = window;

Loading…
Cancel
Save