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

rewrite structure and bit chat styling

This commit is contained in:
devfake
2015-06-21 21:20:17 +02:00
parent 22e65ccb96
commit 84b209da56
12 changed files with 96 additions and 38 deletions

View File

@@ -0,0 +1,5 @@
module.exports = {
template: require('../views/chat.html')
};

View File

@@ -1,5 +1,4 @@
var Router = require('director').Router;
var router = new Router();
var router = require('./../routes');
module.exports = {
@@ -7,7 +6,7 @@ module.exports = {
methods: {
changeView: function(view) {
router.setRoute('test');
router.changeRoute(view);
}
}