From 56f96e4dfb8a41c632fa6ca4e73057e4f74202f5 Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Thu, 3 May 2018 13:56:19 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20R=C3=A9pare=20l'outil=20de=20choix=20de?= =?UTF-8?q?s=20couleurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/entry-colour-chooser.js | 4 +++- source/webpack.dev.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/source/entry-colour-chooser.js b/source/entry-colour-chooser.js index e60637af5..520497caf 100644 --- a/source/entry-colour-chooser.js +++ b/source/entry-colour-chooser.js @@ -8,8 +8,10 @@ import reducers from './reducers/reducers' import { changeThemeColour } from './actions' import Layout from './containers/Layout' import { SliderPicker } from 'react-color' +import { rules, rulesFr } from 'Engine/rules' +import lang from './i18n' -let store = createStore(reducers) +let store = createStore(reducers(rulesFr)) @connect( state => ({ couleur: state.themeColours.colour }), diff --git a/source/webpack.dev.js b/source/webpack.dev.js index fde3faaa1..a39dcce7f 100644 --- a/source/webpack.dev.js +++ b/source/webpack.dev.js @@ -18,8 +18,8 @@ module.exports = { // // le nom "simulateur" est là pour des raisons historiques // - // simulateur: './source/iframe-script.js', - // 'colour-chooser': ['@babel/polyfill', './source/entry-colour-chooser.js'] + // ,simulateur: './source/iframe-script.js', + // ,colour-chooser': ['@babel/polyfill', './source/entry-colour-chooser.js'] }, plugins: [ new webpack.EnvironmentPlugin({ NODE_ENV: 'development' }),