* Update index to make it clear what has hasn't updated to Next/React yet * Typescriptify events and experiments * Typescript the old JS for easier integration * Update release-notes.ts * Lint * Run npm i * Fix a few lint issues * Update airgap-links.ts * Update airgap-links.ts * Update set-next-env to ts * Update airgap-links.ts * Update package-lock.json * Update set-next-env.ts * Update package-lock.json * Revert "Update package-lock.json" This reverts commit b45e8250beeb700719d3b44e1092b0bbd093baba. * readd fsevents * Revert "readd fsevents" This reverts commit 419f3c35080ac4a9072f0b4e8e291e1712ce3639. * Update openapi-schema-check.yml * Revert "Update openapi-schema-check.yml" This reverts commit 5e9f4a29ea11ee343ca17291a40a751920c5b923. * Update package-lock.json * Update package-lock.json
52 lines
1.4 KiB
TypeScript
52 lines
1.4 KiB
TypeScript
// Import our SCSS files so webpack will process them
|
|
import '../stylesheets/index.scss'
|
|
import displayPlatformSpecificContent from './display-platform-specific-content'
|
|
import displayToolSpecificContent from './display-tool-specific-content'
|
|
import explorer from './explorer'
|
|
import scrollUp from './scroll-up'
|
|
import search from './search'
|
|
import nav from './nav'
|
|
import browserDateFormatter from 'browser-date-formatter'
|
|
import sidebar from './sidebar'
|
|
import wrapCodeTerms from './wrap-code-terms'
|
|
import print from './print'
|
|
import localization from './localization'
|
|
import survey from './survey'
|
|
import experiment from './experiment'
|
|
import copyCode from './copy-code'
|
|
import initializeEvents from './events'
|
|
import filterCards from './filter-cards'
|
|
import allArticles from './all-articles'
|
|
import devToc from './dev-toc'
|
|
import releaseNotes from './release-notes'
|
|
import showMore from './show-more'
|
|
import airgapLinks from './airgap-links'
|
|
import toggleImages from './toggle-images'
|
|
import setNextEnv from './set-next-env'
|
|
|
|
document.addEventListener('DOMContentLoaded', async () => {
|
|
setNextEnv()
|
|
displayPlatformSpecificContent()
|
|
displayToolSpecificContent()
|
|
explorer()
|
|
scrollUp()
|
|
search()
|
|
nav()
|
|
browserDateFormatter()
|
|
sidebar()
|
|
wrapCodeTerms()
|
|
print()
|
|
localization()
|
|
copyCode()
|
|
filterCards()
|
|
allArticles()
|
|
devToc()
|
|
showMore()
|
|
airgapLinks()
|
|
releaseNotes()
|
|
initializeEvents()
|
|
experiment()
|
|
survey()
|
|
toggleImages()
|
|
})
|