Skip to content

Commit

Permalink
Merge pull request #9 from tomvanswam/dev
Browse files Browse the repository at this point in the history
Remove console.log
  • Loading branch information
tomvanswam committed Aug 10, 2020
2 parents 613e210 + 7cfba48 commit ddebe76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion dist/compass-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -782,4 +782,4 @@ found at http://polymer.github.io/PATENTS.txt
<div class="name flex">
<span class="ellipsis">${this.computeName()}</span>
</div>
`}getCardSize(){return 4}computeName(){if(this._config.name&&this._config.name.trim().length>0)return this._config.name}computeIcon(e){return e&&e.attributes.icon?e.attributes.icon:Te}static get styles(){return xe}static get_degrees(e){return Ae[e]?Ae[e]:0}static get_compass_point(e){let t=Math.round((e+11.25)%360/22.5);return t-=1,t<0&&(t=0),console.log(t),Ve[t]}};e([Z()],ze.prototype,"hass",void 0),e([Z()],ze.prototype,"_config",void 0),ze=De=e([B("compass-card")],ze);export{ze as CompassCard};
`}getCardSize(){return 4}computeName(){if(this._config.name&&this._config.name.trim().length>0)return this._config.name}computeIcon(e){return e&&e.attributes.icon?e.attributes.icon:Te}static get styles(){return xe}static get_degrees(e){return Ae[e]?Ae[e]:0}static get_compass_point(e){let t=Math.round((e+11.25)%360/22.5);return t-=1,t<0&&(t=0),Ve[t]}};e([Z()],ze.prototype,"hass",void 0),e([Z()],ze.prototype,"_config",void 0),ze=De=e([B("compass-card")],ze);export{ze as CompassCard};
1 change: 0 additions & 1 deletion src/compass-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ export class CompassCard extends LitElement {
if (index < 0) {
index = 0;
}
console.log(index);
return COMPASS_ABBREVIATIONS[index];
}
}

0 comments on commit ddebe76

Please sign in to comment.