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
2015-06-22 11:57:22 +02:00

20 lines
313 B
JavaScript

var router = require('./../routes');
module.exports = {
template: require('../views/navigation.html'),
inherit: true,
methods: {
changeView: function(view) {
router.changeRoute(view);
},
searchMatch: function() {
this.modal = true;
// trigger match functions
}
}
};