szurubooru/static/js/views/home_view.js

20 lines
385 B
JavaScript
Raw Normal View History

2016-03-31 22:33:49 +02:00
'use strict';
const config = require('../config.js');
const BaseView = require('./base_view.js');
class HomeView extends BaseView {
constructor() {
super();
this.template = this.getTemplate('home-template');
}
render(section) {
this.showView(this.template({
'name': config.basic.name,
}));
}
}
module.exports = HomeView;