Skip to content

Commit

Permalink
Replacing translation behavior with mixin, upgrading cosmoz-i18next c…
Browse files Browse the repository at this point in the history
…omponent. #00000
  • Loading branch information
dotpointer committed May 23, 2019
1 parent 1714f43 commit a7d9986
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"polymer": "Polymer/polymer#^2.6.1",
"cosmoz-bottom-bar": "Neovici/cosmoz-bottom-bar#^2.0.0",
"cosmoz-i18next": "Neovici/cosmoz-i18next#^2.0.0",
"cosmoz-i18next": "Neovici/cosmoz-i18next#^2.0.1",
"cosmoz-page-router": "Neovici/cosmoz-page-router#^2.0.0",
"iron-flex-layout": "PolymerElements/iron-flex-layout#^2.0.3",
"paper-icon-button": "PolymerElements/paper-icon-button#^2.2.0",
Expand Down
1 change: 1 addition & 0 deletions cosmoz-data-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="import" href="../iron-flex-layout/iron-flex-layout-classes.html">

<link rel="import" href="../cosmoz-bottom-bar/cosmoz-bottom-bar-view.html">
<link rel="import" href="../cosmoz-i18next/cosmoz-i18next.html">
<link rel="import" href="../cosmoz-page-router/cosmoz-page-location.html">

<link rel="import" href="../paper-icon-button/paper-icon-button.html">
Expand Down
7 changes: 3 additions & 4 deletions cosmoz-data-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
} = Polymer;


class CosmozDataNav extends mixinBehaviors([
IronResizableBehavior,
Cosmoz.TranslatableBehavior
], Polymer.Element) {
class CosmozDataNav extends Cosmoz.Mixins.translatable(mixinBehaviors([
IronResizableBehavior
], Polymer.Element)) {

static get is() {
return 'cosmoz-data-nav';
Expand Down

0 comments on commit a7d9986

Please sign in to comment.