aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/public/index.html
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-17 07:41:21 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-17 07:41:21 +0800
commit9a53a29b1f421cdea190b6175dec437ec6d76a39 (patch)
tree7593e4af1efce1bb50bc6bc9ab92bcaf051e85e6 /packages/instant/public/index.html
parentf7914af9c564d4521e375fb3dd5825da763df7d6 (diff)
downloaddexon-sol-tools-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar
dexon-sol-tools-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar.gz
dexon-sol-tools-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar.bz2
dexon-sol-tools-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar.lz
dexon-sol-tools-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar.xz
dexon-sol-tools-9a53a29b1f421cdea190b6175dec437ec6d76a39.tar.zst
dexon-sol-tools-9a53a29b1f421cdea190b6175dec437ec6d76a39.zip
feat: allow integrator to disable pushstate logic
Diffstat (limited to 'packages/instant/public/index.html')
-rw-r--r--packages/instant/public/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/public/index.html b/packages/instant/public/index.html
index 253cbb194..79edb6c17 100644
--- a/packages/instant/public/index.html
+++ b/packages/instant/public/index.html
@@ -128,8 +128,10 @@
availableAssetDatas: availableAssetDatasString ? JSON.parse(availableAssetDatasString) : undefined,
defaultSelectedAssetData: queryParams.getQueryParamValue('defaultSelectedAssetData'),
affiliateInfo: affiliateInfoOverride,
+
}
const renderOptions = Object.assign({}, renderOptionsDefaults, removeUndefined(renderOptionsOverrides));
+ window.onpopstate = () => console.log('Integrators onpopstate called');
zeroExInstant.render(renderOptions);
</script>
</body>