mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Upgrade to babel 6
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import Polymer from '../../polymer';
|
||||
import {
|
||||
import hass from '../../util/home-assistant-js-instance';
|
||||
|
||||
require('../../components/ha-label-badge');
|
||||
|
||||
const {
|
||||
reactor,
|
||||
entityGetters,
|
||||
moreInfoActions,
|
||||
} from '../../util/home-assistant-js-instance';
|
||||
|
||||
require('../../components/ha-label-badge');
|
||||
} = hass;
|
||||
|
||||
export default new Polymer({
|
||||
is: 'ha-entity-marker',
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import { serviceActions } from '../../util/home-assistant-js-instance';
|
||||
import hass from '../../util/home-assistant-js-instance';
|
||||
|
||||
import Polymer from '../../polymer';
|
||||
|
||||
const { serviceActions } = hass;
|
||||
|
||||
export default new Polymer({
|
||||
is: 'ha-entity-toggle',
|
||||
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
import Polymer from '../../polymer';
|
||||
import {
|
||||
moreInfoActions,
|
||||
serviceActions,
|
||||
} from '../../util/home-assistant-js-instance';
|
||||
import hass from '../../util/home-assistant-js-instance';
|
||||
import domainIcon from '../../util/domain-icon';
|
||||
import canToggle from '../../util/can-toggle';
|
||||
|
||||
require('../../components/ha-label-badge');
|
||||
|
||||
const {
|
||||
moreInfoActions,
|
||||
serviceActions,
|
||||
} = hass;
|
||||
|
||||
export default new Polymer({
|
||||
is: 'ha-state-label-badge',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user