1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-27 03:46:54 +00:00
not-gwent-online/site/client/app/components/navigation.js

20 lines
313 B
JavaScript
Raw Normal View History

2015-06-21 19:20:17 +00:00
var router = require('./../routes');
2015-06-21 15:14:53 +00:00
2015-06-21 14:34:27 +00:00
module.exports = {
2015-06-21 15:14:53 +00:00
template: require('../views/navigation.html'),
inherit: true,
2015-06-21 15:14:53 +00:00
methods: {
changeView: function(view) {
2015-06-21 19:20:17 +00:00
router.changeRoute(view);
},
searchMatch: function() {
2015-06-22 09:57:22 +00:00
this.modal = true;
// trigger match functions
2015-06-21 15:14:53 +00:00
}
}
2015-06-21 14:34:27 +00:00
};