From ac6491ea127215cb07ca490fc2cc1af7c3778e8f Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sun, 3 Jan 2016 23:45:46 +0100 Subject: 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. --- client/components/boards/boardHeader.js | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'client/components/boards/boardHeader.js') diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index f8ccfba5..acf40f44 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -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; -- cgit v1.2.3-1-g7c22