Hockey

Buffalo takes on Pittsburgh after Thompson’s 5-goal performance

{promoMarkup}{notifMarkup} “,panelEmptyTemplate=” {emptyPanelMsg} “,panelErrorTemplate=” {errorMsg} “,panelParentTemplate=””,notifOnboardPromoTemplate=” {notifOnboardMsg}{notifOnboardBtnLabel} “,EXPANDED_PANEL=”expanded_panel”,ERROR_PANEL=”error_panel”,NotificationView=function(){function e(t,n){classCallCheck$1(this,e);var o=this;o._config=t,o._panelNode=null,o._store=n}return createClass$1(e,[{key:”_generatePanelMarkup”,value:function(e,t){var n=this._config,o=void 0,r=void 0;”undefined”!=typeof window&&(o=window.Notification&&”default”===window.Notification.permission,r=n.promos.bypassEligibleClassCheck||hasClass(document.body,n.promos.eligibleBodyClass));var i=n.promos.enableNotifOnboard&&o&&r?notifOnboardPromoTemplate:””;if(i){var a=n.promos.showYahooLogo?””:”yns-no-logo”;i=i.replace(“{notifOnboardBtnLabel}”,n.promos.notifOnboardBtnLabel).replace(“{notifOnboardMsg}”,n.promos.notifOnboardMsg).replace(“{subscriptionTopic}”,n.promos.subscriptionTopic).replace(“{noLogoClass}”,a).replace(“https://ca.sports.yahoo.com/news/{promoLogo}”,n.promos.promoLogo)}var s=t.newCount>n.panel.maxCount?t.newCount:””,c=n.panel.notificationCenterPath,l=c?””:constants.panelHideElement,u=n.panel.headerMsg?””:” “+constants.panelHideElement,d=c?constants.panelPaddingBtm:””,p=void 0;t.count?p=t.markup:p=panelEmptyTemplate.replace(“{emptyPanelMsg}”,n.panel.emptyPanelMsg);return e=e.replace(“{notifMarkup}”,p).replace(“{promoMarkup}”,i).replace(“{hideClass}”,l).replace(“https://ca.sports.yahoo.com/news/{notifCenterLink}”,c).replace(“{paddingClass}”,d).replace(“{headerMsg}”,n.panel.headerMsg).replace(“{hideHeaderClass}”,u).replace(/{notificationCenterNavMsg}/g,n.panel.notificationCenterNavMsg).replace(/{newCount}/g,s)}},{key:”render”,value:function(e,t){var n=this;if(n._panelNode){var o=void 0,r=n._panelNode,i=void 0,a=void 0;switch(e){case EXPANDED_PANEL:o=panelTemplate,a=n._store.getNotifications(),i=n._generatePanelMarkup(o,a),r.innerHTML=i;break;case ERROR_PANEL:i=(o=panelErrorTemplate).replace(“{errorMsg}”,n._config.panel.errorMsg),r.innerHTML=i}t&&t()}else t&&t(new Error(“No…

Red-hot Devils blank Blackhawks

Defenseman Dougie Hamilton had a goal and two assists, Vitek Vanecek made 24 saves for his second shutout and the NHL-leading New Jersey Devils defeated the Chicago Blackhawks 3-0 on…

Odds and NHL picks Tuesday

Commercial Content 21+ The Detroit Red Wings are sticking around in the NHL Eastern Conference playoff picture for now. After a 7-3-2 start to the season, Detroit alternated a four-game…