mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 13:39:30 -07:00
transition from javascript to typescript
This commit is contained in:
13
assets/ts/main.ts
Normal file
13
assets/ts/main.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { footerHeightUpdateInit } from './utils'
|
||||
import { imgIndexSpanUpdate } from './indexDisp'
|
||||
import { imagesArrayLen, trackMouseInit } from './trackMouse'
|
||||
import { thresholdCtlInit } from './thresholdCtl'
|
||||
|
||||
function init(): void {
|
||||
footerHeightUpdateInit()
|
||||
imgIndexSpanUpdate(0, imagesArrayLen)
|
||||
thresholdCtlInit()
|
||||
trackMouseInit()
|
||||
}
|
||||
|
||||
init()
|
||||
Reference in New Issue
Block a user