* push state to client * junto status is live on map cards XD * little fixes * eslint stuff * remove object rest spread * i think this makes realtime work without needing babel-node
18 lines
375 B
JavaScript
18 lines
375 B
JavaScript
/* global $ */
|
|
|
|
import ExploreMaps from './ExploreMaps'
|
|
import ChatView from './ChatView'
|
|
import VideoView from './VideoView'
|
|
import Room from './Room'
|
|
import { JUNTO_UPDATED } from '../Realtime/events'
|
|
|
|
const Views = {
|
|
init: () => {
|
|
$(document).on(JUNTO_UPDATED, () => ExploreMaps.render())
|
|
},
|
|
ExploreMaps,
|
|
ChatView,
|
|
VideoView,
|
|
Room
|
|
}
|
|
export default Views
|