From b5f976321b71761d0f52fab1f59a5eb3b2c9eb6d Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Wed, 1 Jul 2020 08:13:54 -0400 Subject: [PATCH] Removed dead references to beestat.cards --- js/beestat.js | 2 -- js/component/card.js | 9 --------- 2 files changed, 11 deletions(-) diff --git a/js/beestat.js b/js/beestat.js index 71b2adf..9416b37 100644 --- a/js/beestat.js +++ b/js/beestat.js @@ -3,8 +3,6 @@ */ var beestat = {}; -beestat.cards = {}; - beestat.ecobee_thermostat_models = { 'apolloEms': 'apolloEms', 'apolloSmart': 'ecobee4', diff --git a/js/component/card.js b/js/component/card.js index cb321e4..3f06d74 100644 --- a/js/component/card.js +++ b/js/component/card.js @@ -2,15 +2,6 @@ * Card */ beestat.component.card = function() { - - /** - * For now just load up all the cards this way. In the future will probably - * need to allow arrays of certain cards for custom dashboards. - */ - // beestat.cards[ - // this.get_class_name_recursive_(beestat.component.card).join('.') - // ] = this; - beestat.component.apply(this, arguments); }; beestat.extend(beestat.component.card, beestat.component);