Upgrade peerlibrary:blaze-components to v0.14

This change includes method renames and others UI related packages
updates.
This commit is contained in:
Maxime Quandalle 2015-10-21 04:34:44 +02:00
parent 9154b06fc3
commit c6b12dc5ad
8 changed files with 27 additions and 26 deletions

View file

@ -13,19 +13,19 @@ BlazeComponent.extendComponent({
},
reachNextPeak() {
const activitiesComponent = this.componentChildren('activities')[0];
const activitiesComponent = this.childrenComponents('activities')[0];
activitiesComponent.loadNextPage();
},
onCreated() {
this.isLoaded = new ReactiveVar(false);
this.componentParent().showOverlay.set(true);
this.componentParent().mouseHasEnterCardDetails = false;
this.parentComponent().showOverlay.set(true);
this.parentComponent().mouseHasEnterCardDetails = false;
},
scrollParentContainer() {
const cardPanelWidth = 510;
const bodyBoardComponent = this.componentParent();
const bodyBoardComponent = this.parentComponent();
const $cardContainer = bodyBoardComponent.$('.js-lists');
const $cardView = this.$(this.firstNode());
@ -52,7 +52,7 @@ BlazeComponent.extendComponent({
},
onDestroyed() {
this.componentParent().showOverlay.set(false);
this.parentComponent().showOverlay.set(false);
},
events() {
@ -83,8 +83,8 @@ BlazeComponent.extendComponent({
'click .js-add-members': Popup.open('cardMembers'),
'click .js-add-labels': Popup.open('cardLabels'),
'mouseenter .js-card-details'() {
this.componentParent().showOverlay.set(true);
this.componentParent().mouseHasEnterCardDetails = true;
this.parentComponent().showOverlay.set(true);
this.parentComponent().mouseHasEnterCardDetails = true;
},
})];
},