diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-21 20:11:06 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-21 20:11:06 +0800 |
commit | a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b (patch) | |
tree | 7f4d4ee9ad766860288d22ee7875f70f0d951af0 /src/contract_wrappers | |
parent | 40a7be0690c81d2e42543aa075ef8da6606e7b7e (diff) | |
download | dexon-0x-contracts-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.gz dexon-0x-contracts-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.zst dexon-0x-contracts-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.zip |
Fall back to import x = require() syntax
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r-- | src/contract_wrappers/contract_wrapper.ts | 4 | ||||
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 10 | ||||
-rw-r--r-- | src/contract_wrappers/token_registry_wrapper.ts | 4 | ||||
-rw-r--r-- | src/contract_wrappers/token_wrapper.ts | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/src/contract_wrappers/contract_wrapper.ts b/src/contract_wrappers/contract_wrapper.ts index dd403ce8b..f5d2cd4eb 100644 --- a/src/contract_wrappers/contract_wrapper.ts +++ b/src/contract_wrappers/contract_wrapper.ts @@ -1,5 +1,5 @@ -import includes from 'lodash/includes'; -import isUndefined from 'lodash/isUndefined'; +import includes = require('lodash/includes'); +import isUndefined = require('lodash/isUndefined'); import contract = require('truffle-contract'); import {Web3Wrapper} from '../web3_wrapper'; import {ZeroExError, Artifact, ContractInstance} from '../types'; diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index 4f9d03539..6d42dc110 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -1,8 +1,8 @@ -import map from 'lodash/map'; -import isEmpty from 'lodash/isEmpty'; -import find from 'lodash/find'; -import isUndefined from 'lodash/isUndefined'; -import unzip from 'lodash/unzip'; +import map = require('lodash/map'); +import isEmpty = require('lodash/isEmpty'); +import find = require('lodash/find'); +import isUndefined = require('lodash/isUndefined'); +import unzip = require('lodash/unzip'); import * as BigNumber from 'bignumber.js'; import promisify = require('es6-promisify'); import {Web3Wrapper} from '../web3_wrapper'; diff --git a/src/contract_wrappers/token_registry_wrapper.ts b/src/contract_wrappers/token_registry_wrapper.ts index dd27192a7..971b2d43c 100644 --- a/src/contract_wrappers/token_registry_wrapper.ts +++ b/src/contract_wrappers/token_registry_wrapper.ts @@ -1,5 +1,5 @@ -import map from 'lodash/map'; -import isUndefined from 'lodash/isUndefined'; +import map = require('lodash/map'); +import isUndefined = require('lodash/isUndefined'); import {Web3Wrapper} from '../web3_wrapper'; import {Token, TokenRegistryContract, TokenMetadata} from '../types'; import {assert} from '../utils/assert'; diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts index ea24b5901..5db7248e8 100644 --- a/src/contract_wrappers/token_wrapper.ts +++ b/src/contract_wrappers/token_wrapper.ts @@ -1,4 +1,4 @@ -import isUndefined from 'lodash/isUndefined'; +import isUndefined = require('lodash/isUndefined'); import * as BigNumber from 'bignumber.js'; import {Web3Wrapper} from '../web3_wrapper'; import {assert} from '../utils/assert'; |