aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-31 20:47:51 +0800
committerGitHub <noreply@github.com>2018-07-31 20:47:51 +0800
commit37590d5f5eae9eea9802d260c6afede1e8c969ac (patch)
tree6bfee5a6a19348e0f2e0ed527e920d3db1d955a8 /packages/website/ts/utils
parent9199a56b7ae8e8cffd02b8e79e9e827356975c63 (diff)
parent02eb575813564b0586a038cc1229a166cb402146 (diff)
downloaddexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.gz
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.bz2
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.lz
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.xz
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.zst
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.zip
Merge branch 'development' into ritave/resolver-check-dirs
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/constants.ts2
-rw-r--r--packages/website/ts/utils/utils.ts3
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index 20441cd75..005d17823 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -41,6 +41,7 @@ export const constants = {
TAKER_FEE: new BigNumber(0),
TESTNET_NAME: 'Kovan',
NUMERAL_USD_FORMAT: '$0,0.00',
+ EMAIL_JOBS: 'jobs@0xproject.com',
PROJECT_URL_ETHFINEX: 'https://www.ethfinex.com/',
PROJECT_URL_AMADEUS: 'http://amadeusrelay.org',
PROJECT_URL_DDEX: 'https://ddex.io',
@@ -92,4 +93,5 @@ export const constants = {
URL_WEB3_LOG_ENTRY_EVENT: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L127',
URL_WEB3_PROVIDER_DOCS: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L150',
URL_BIGNUMBERJS_GITHUB: 'http://mikemcl.github.io/bignumber.js',
+ URL_MISSION_AND_VALUES_BLOG_POST: 'https://blog.0xproject.com/the-0x-mission-and-values-181a58706f9f',
};
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 439af5e4b..39bbd404c 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -363,9 +363,6 @@ export const utils = {
}
return Environments.UNKNOWN;
},
- shouldShowJobsPage(): boolean {
- return utils.isDevelopment() || utils.isStaging() || utils.isDogfood();
- },
getEthToken(tokenByAddress: TokenByAddress): Token {
return utils.getTokenBySymbol(constants.ETHER_TOKEN_SYMBOL, tokenByAddress);
},