mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
Remove commented out code
This commit is contained in:
parent
21119dadc6
commit
505cb99659
|
@ -1,31 +1,2 @@
|
|||
// require('@babel/register')();
|
||||
require('@babel/polyfill');
|
||||
global.chrome = require('sinon-chrome');
|
||||
// var jsdom = require('jsdom').jsdom;
|
||||
//
|
||||
// var exposedProperties = ['window', 'navigator', 'document'];
|
||||
//
|
||||
// global.document = jsdom('');
|
||||
// global.window = document.defaultView;
|
||||
// Object.keys(document.defaultView).forEach((property) => {
|
||||
// if (typeof global[property] === 'undefined') {
|
||||
// exposedProperties.push(property);
|
||||
// global[property] = document.defaultView[property];
|
||||
// }
|
||||
// });
|
||||
//
|
||||
// global.navigator = {
|
||||
// userAgent: 'gecko',
|
||||
// };
|
||||
//
|
||||
// global.document.createRange = function () {
|
||||
// return {
|
||||
// setEnd: function () {},
|
||||
// setStart: function () {},
|
||||
// getBoundingClientRect: function () {
|
||||
// return { right: 0 };
|
||||
// },
|
||||
// };
|
||||
// };
|
||||
//
|
||||
// documentRef = document;
|
||||
|
|
Loading…
Reference in New Issue
Block a user