aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-04 02:55:40 +0800
committerFabio Berger <me@fabioberger.com>2018-03-04 02:55:40 +0800
commit3592ebef0800fe3c32c9f1e4870b667a07a322bb (patch)
treeefc7b8c9ef06e457b769a0244b252cdd8f3f7cc7 /packages/website/ts/utils
parenta783d21409424a5da934d5909a9238d1d08fe88b (diff)
downloaddexon-sol-tools-3592ebef0800fe3c32c9f1e4870b667a07a322bb.tar
dexon-sol-tools-3592ebef0800fe3c32c9f1e4870b667a07a322bb.tar.gz
dexon-sol-tools-3592ebef0800fe3c32c9f1e4870b667a07a322bb.tar.bz2
dexon-sol-tools-3592ebef0800fe3c32c9f1e4870b667a07a322bb.tar.lz
dexon-sol-tools-3592ebef0800fe3c32c9f1e4870b667a07a322bb.tar.xz
dexon-sol-tools-3592ebef0800fe3c32c9f1e4870b667a07a322bb.tar.zst
dexon-sol-tools-3592ebef0800fe3c32c9f1e4870b667a07a322bb.zip
Move over AnchorTitle and associated elements
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, 0 insertions, 5 deletions
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index 3476b7375..1f87fe189 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -4,8 +4,6 @@ import { Networks } from 'ts/types';
export const constants = {
DECIMAL_PLACES_ETH: 18,
DECIMAL_PLACES_ZRX: 18,
- DOCS_SCROLL_DURATION_MS: 0,
- DOCS_CONTAINER_ID: 'documentation',
GENESIS_ORDER_BLOCK_BY_NETWORK_ID: {
1: 4145578,
42: 3117574,
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index a1e045af7..a1e11c85a 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -152,9 +152,6 @@ export const utils = {
const etherScanPrefix = networkName === Networks.Mainnet ? '' : `${networkName.toLowerCase()}.`;
return `https://${etherScanPrefix}etherscan.io/${suffix}/${addressOrTxHash}`;
},
- setUrlHash(anchorId: string) {
- window.location.hash = anchorId;
- },
async isU2FSupportedAsync(): Promise<boolean> {
const w = window as any;
return new Promise((resolve: (isSupported: boolean) => void) => {