1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-11-08 09:08:40 +00:00

add routing

This commit is contained in:
devfake
2015-06-22 18:12:34 +02:00
parent da6f8749db
commit 9654ba6a50
8 changed files with 44 additions and 37 deletions

View File

@@ -0,0 +1,5 @@
module.exports = {
template: "<h2>deckbuilder hier</h2>"
};

View File

@@ -13,7 +13,8 @@ module.exports = {
navigation: require('./navigation'),
chat: require('./chat'),
lobby: require('./lobby')
lobby: require('./lobby'),
deckBuilder: require('./deckBuilder')
}
};

View File

@@ -1,5 +1,5 @@
module.exports = {
template: require('../views/lobby.html'),
template: "<h2>lobby hier</h2>"
};

View File

@@ -7,10 +7,6 @@ module.exports = {
inherit: true,
methods: {
changeView: function(view) {
router.changeRoute(view);
},
searchMatch: function() {
this.modal = true;
// trigger match functions