ProjetRIOT/loader.js

24 lines
732 B
JavaScript
Raw Normal View History

2023-03-26 17:40:15 +02:00
/*
Charge tous les fichiers riot compilés.
*/
2023-03-28 13:42:53 +02:00
import MainController from './javascript/main-controller.js'
2023-03-26 17:40:15 +02:00
import SchoolInfo from './javascript/school-info.js'
import LineGraph from './javascript/line-graph.js'
2023-03-28 13:42:53 +02:00
import FiliInfo from './javascript/fili-info.js'
2023-03-26 17:40:15 +02:00
import Search from './javascript/search.js'
2023-03-28 10:15:32 +02:00
import School from './javascript/school.js'
2023-03-26 17:40:15 +02:00
2023-03-28 13:42:53 +02:00
riot.register("main-controller", MainController)
2023-03-26 17:40:15 +02:00
riot.register("school-info", SchoolInfo)
riot.register("line-graph", LineGraph)
2023-03-28 13:42:53 +02:00
riot.register("fili-info", FiliInfo)
2023-03-26 17:40:15 +02:00
riot.register("search", Search)
2023-03-28 10:15:32 +02:00
riot.register("school", School)
2023-03-26 17:40:15 +02:00
2023-03-28 13:42:53 +02:00
riot.mount("main-controller")
2023-03-26 17:40:15 +02:00
riot.mount("school-info")
riot.mount("line-graph")
2023-03-28 13:42:53 +02:00
riot.mount("fili-info")
2023-03-28 10:15:32 +02:00
riot.mount("search")
riot.mount("school")