move view models over to domain

This commit is contained in:
Bruno Windels 2019-03-08 19:58:54 +01:00
parent e3d931b966
commit 2dbd0fb9dc
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import EventEmitter from "../../EventEmitter.js";
import RoomTileViewModel from "./RoomTileViewModel.js";
import RoomViewModel from "./RoomViewModel.js";
import RoomTileViewModel from "./roomlist/RoomTileViewModel.js";
import RoomViewModel from "./room/RoomViewModel.js";
export default class SessionViewModel extends EventEmitter {
constructor(session) {

View File

@ -1,4 +1,4 @@
import EventEmitter from "../../EventEmitter.js";
import EventEmitter from "../../../EventEmitter.js";
export default class RoomViewModel extends EventEmitter {
constructor(room) {

View File

@ -3,7 +3,7 @@ import Session from "./matrix/session.js";
import createIdbStorage from "./matrix/storage/idb/create.js";
import Sync from "./matrix/sync.js";
import SessionView from "./ui/web/SessionView.js";
import SessionViewModel from "./ui/viewmodels/SessionViewModel.js";
import SessionViewModel from "./domain/session/SessionViewModel.js";
const HOST = "localhost";
const HOMESERVER = `http://${HOST}:8008`;