Remove unnecessary template name declaration

This code was duplicate with the name we use to `register` the
component. A update of blaze-component removed the need to duplicate
this declaration.
This commit is contained in:
Maxime Quandalle 2016-01-03 23:45:46 +01:00
parent 46747b01fb
commit ac6491ea12
16 changed files with 0 additions and 92 deletions

View file

@ -41,10 +41,6 @@ Template.boardChangeTitlePopup.events({
});
BlazeComponent.extendComponent({
template() {
return 'boardHeaderBar';
},
isStarred() {
const boardId = Session.get('currentBoard');
const user = Meteor.user();
@ -93,10 +89,6 @@ BlazeComponent.extendComponent({
}).register('boardHeaderBar');
BlazeComponent.extendComponent({
template() {
return 'boardChangeColorPopup';
},
backgroundColors() {
return Boards.simpleSchema()._schema.color.allowedValues;
},
@ -119,10 +111,6 @@ BlazeComponent.extendComponent({
}).register('boardChangeColorPopup');
BlazeComponent.extendComponent({
template() {
return 'createBoardPopup';
},
onCreated() {
this.visibilityMenuIsOpen = new ReactiveVar(false);
this.visibility = new ReactiveVar('private');
@ -170,10 +158,6 @@ BlazeComponent.extendComponent({
}).register('createBoardPopup');
BlazeComponent.extendComponent({
template() {
return 'boardChangeVisibilityPopup';
},
visibilityCheck() {
const currentBoard = Boards.findOne(Session.get('currentBoard'));
return this.currentData() === currentBoard.permission;