1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00
not-gwent-online/site/client/app/components/navigation.js

20 lines
311 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() {
this.modal = true;
// trigger match functions
2015-06-21 15:14:53 +00:00
}
}
2015-06-21 14:34:27 +00:00
};