move json data fetching to a standalone module

This commit is contained in:
Spedon
2023-03-14 01:19:01 +08:00
parent 1785e1e7ce
commit f3d3efb4ff
3 changed files with 22 additions and 21 deletions

View File

@@ -1,7 +1,8 @@
import { footerHeightUpdateInit } from './utils'
import { imgIndexSpanUpdate } from './indexDisp'
import { imagesArrayLen, trackMouseInit } from './trackMouse'
import { trackMouseInit } from './trackMouse'
import { thresholdCtlInit } from './thresholdCtl'
import { imagesArrayLen } from './dataFetch'
function init(): void {
footerHeightUpdateInit()