aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/main.js
blob: 29f1d3ea066363874f95e77546ddc9040903dc2b (plain)
1
2
3
4
5
6
7
8
9
10
11
const frontpage = require('./frontpage')
const search = require('./search')
const schedule = require('./schedule')

frontpage.show()

search.events.on('search', function (selectedItem) {
  schedule.viewItem(0, selectedItem)
})

document.body.style.opacity = 1