From 6ddc6ab29faf48993c7c76476f269abddab5b229 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sun, 2 Oct 2016 01:20:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83?= =?UTF-8?q?=D1=80=D0=B0=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0=20?= =?UTF-8?q?=D0=BE=D0=BA=D0=BE=D0=BD=D1=87=D0=B0=D1=82=D0=B5=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=B7=D0=B0=D0=B3=D0=BD=D0=B0=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=B2=20Docker=20=D0=94=D0=B5=D0=B3=D1=80=D0=B5=D0=B9=D0=B4=20?= =?UTF-8?q?PHP=20=D0=B4=D0=BE=207.0=20(=D0=B2=D1=81=D1=91=20=D1=82=D0=B0?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=B1=D0=B5=D0=B7=20xdebug=20=D0=BD=D0=B5=D0=BC?= =?UTF-8?q?=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=B1=D0=BE=D0=BB=D1=8C=D0=BD=D0=BE?= =?UTF-8?q?)=20=D0=94=D0=B5=D0=B3=D1=80=D0=B5=D0=B9=D0=B4=20Node.js=20?= =?UTF-8?q?=D0=B4=D0=BE=205.12=20(=D0=BD=D0=B0=206.5=20=D0=BD=D0=B5=20?= =?UTF-8?q?=D1=81=D0=BE=D0=B1=D0=B8=D1=80=D0=B0=D0=BB=D1=81=D1=8F=20=D1=84?= =?UTF-8?q?=D1=80=D0=BE=D0=BD=D1=82)=20=D0=A3=D0=BF=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D0=B4=D0=BD=D1=91=D0=BD=20app-console=20=D0=BA=D0=BE=D0=BD?= =?UTF-8?q?=D1=82=D0=B5=D0=B9=D0=BD=D0=B5=D1=80=20(=D0=BE=D0=BD=20=D1=82?= =?UTF-8?q?=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B6=D0=B8=D0=B2=D1=91=D1=82?= =?UTF-8?q?=20=D0=B2=D0=BD=D1=83=D1=82=D1=80=D0=B8=20=D0=BE=D1=81=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2=D0=BD=D0=BE=D0=B3=D0=BE=20php=20=D0=BA=D0=BE=D0=BD?= =?UTF-8?q?=D1=82=D0=B5=D0=B9=D0=BD=D0=B5=D1=80=D0=B0=20=D0=B8=20=D1=80?= =?UTF-8?q?=D1=83=D0=BB=D0=B8=D1=82=D1=81=D1=8F=20=D1=81=D0=B8=D0=BB=D0=B0?= =?UTF-8?q?=D0=BC=D0=B8=20supervisor)=20=D0=A3=D0=BF=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D0=B4=D0=BD=D1=91=D0=BD=20node-dev-server=20(=D0=B2=D1=81?= =?UTF-8?q?=D1=91=20=D1=80=D0=B0=D0=B2=D0=BD=D0=BE=20=D0=BE=D0=BD=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=BB=20=D0=BF=D0=BB=D0=BE=D1=85?= =?UTF-8?q?=D0=BE)=20=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B1=D0=B0=D0=B3=D0=B0?= =?UTF-8?q?=20=D0=B2=20ConfigLoader=20(=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=B3?= =?UTF-8?q?=D1=80=D1=83=D0=B6=D0=B0=D0=BB=20config-{env}=20=D1=84=D0=B0?= =?UTF-8?q?=D0=B9=D0=BB=D1=8B)=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B2=20LangMenu=20(=D0=B4=D0=B2=D0=BE=D0=B9=D0=BD=D0=BE?= =?UTF-8?q?=D0=B9=20default=20=D1=8D=D0=BA=D1=81=D0=BF=D0=BE=D1=80=D1=82)?= =?UTF-8?q?=20=D0=98=D0=B7=20package.json=20=D0=B2=D1=80=D0=B5=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=BE=20=D1=83=D0=B4=D0=B0=D0=BB=D1=91=D0=BD=20Pha?= =?UTF-8?q?ntomJS=20=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D1=91=D0=BD=20REA?= =?UTF-8?q?DME.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- package.json | 2 -- src/components/langMenu/LangMenu.jsx | 5 +++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02a14f5..911ddbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:5.11 +FROM node:5.12 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/package.json b/package.json index ddc325d..aba9d13 100644 --- a/package.json +++ b/package.json @@ -64,14 +64,12 @@ "karma": "^1.1.0", "karma-mocha": "^1.0.0", "karma-nyan-reporter": "^0.2.3", - "karma-phantomjs-launcher": "*", "karma-sinon": "^1.0.4", "karma-sourcemap-loader": "*", "karma-webpack": "^1.5.1", "loader-utils": "^0.2.15", "mocha": "^3.0.2", "node-sass": "^3.4.2", - "phantomjs-prebuilt": "^2.0.0", "postcss-import": "^8.1.2", "postcss-loader": "^0.9.0", "postcss-scss": "^0.1.8", diff --git a/src/components/langMenu/LangMenu.jsx b/src/components/langMenu/LangMenu.jsx index 93cceeb..cc9c9ee 100644 --- a/src/components/langMenu/LangMenu.jsx +++ b/src/components/langMenu/LangMenu.jsx @@ -14,7 +14,7 @@ const LANGS = { uk: 'Українська', }; -export default class LangMenu extends Component { +class LangMenu extends Component { static displayName = 'LangMenu'; static propTypes = { showCurrentLang: PropTypes.bool, @@ -56,7 +56,8 @@ export default class LangMenu extends Component { {Object.keys(LANGS).map((lang) => (
  • + })} onClick={this.onChangeLang(lang)} key={lang} + > {this.renderLangLabel(lang)}
  • ))}