Change imports order

This commit is contained in:
Leonid Logvinov 2018-02-14 15:03:52 -08:00
parent 8704c34a0f
commit bbfbfcda85
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -3,10 +3,11 @@
// we are not running in a browser env.
// Filed issue: https://github.com/ethereum/web3.js/issues/844
(global as any).XMLHttpRequest = undefined;
import { EmptyWalletSubprovider, FakeGasEstimateSubprovider } from '@0xproject/subproviders';
import ProviderEngine = require('web3-provider-engine');
import RpcSubprovider = require('web3-provider-engine/subproviders/rpc');
import { EmptyWalletSubprovider, FakeGasEstimateSubprovider } from '@0xproject/subproviders';
import { constants } from './constants';
// HACK: web3 leaks XMLHttpRequest into the global scope and causes requests to hang