From 597748b3b818b04baf5b54891c29d59814f6ed44 Mon Sep 17 00:00:00 2001 From: Patrik Kullman Date: Tue, 23 Jun 2020 14:32:59 +0200 Subject: [PATCH] fix: reorganize imports/deps, drop translatable mixin Signed-off-by: Patrik Kullman --- cosmoz-data-nav.js | 7 +------ lib/use-incomplete-template.js | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cosmoz-data-nav.js b/cosmoz-data-nav.js index 5a7550d..00e0f32 100644 --- a/cosmoz-data-nav.js +++ b/cosmoz-data-nav.js @@ -1,9 +1,6 @@ /* eslint-disable max-lines */ import '@webcomponents/shadycss/entrypoints/apply-shim'; -import '@polymer/paper-icon-button'; -import '@polymer/paper-spinner/paper-spinner-lite'; - import { render } from 'lit-html'; import { PolymerElement } from '@polymer/polymer/polymer-element'; @@ -19,8 +16,6 @@ import { Debouncer } from '@polymer/polymer/lib/utils/debounce'; import { animationFrame } from '@polymer/polymer/lib/utils/async'; import { flush } from '@polymer/polymer/lib/utils/flush'; -import '@neovici/cosmoz-bottom-bar/cosmoz-bottom-bar-view'; -import { translatable } from '@neovici/cosmoz-i18next'; import '@neovici/cosmoz-page-router/cosmoz-page-location'; import { hauntedPolymer } from '@neovici/cosmoz-utils'; @@ -33,7 +28,7 @@ const _async = window.requestIdleCallback || window.requestAnimationFrame || win _async(() => cb(), _hasDeadline && { timeout }); }; -class CosmozDataNav extends hauntedPolymer('haunted', useDataNav)(translatable(mixinBehaviors([IronResizableBehavior], PolymerElement))) { +class CosmozDataNav extends hauntedPolymer('haunted', useDataNav)(mixinBehaviors([IronResizableBehavior], PolymerElement)) { static get template() { // eslint-disable-line max-lines-per-function return html`