Update to beta 1

locales configuration not loaded automatically anymore, so we need to load react-intl with locales included into the browser ahead of time
This commit is contained in:
Matthew Taylor 2015-11-16 09:40:11 -05:00 committed by Ray Schamp
parent 731f6a93d4
commit 133e42de06
5 changed files with 4257 additions and 2 deletions

View file

@ -53,7 +53,7 @@
"react": "0.14.0", "react": "0.14.0",
"react-addons-test-utils": "0.14.0", "react-addons-test-utils": "0.14.0",
"react-dom": "0.14.0", "react-dom": "0.14.0",
"react-intl": "2.0.0-pr-3", "react-intl": "2.0.0-beta-1",
"react-modal": "0.6.1", "react-modal": "0.6.1",
"react-onclickoutside": "4.1.1", "react-onclickoutside": "4.1.1",
"react-slick": "0.9.2", "react-slick": "0.9.2",

View file

@ -48,6 +48,7 @@
<!-- Scripts --> <!-- Scripts -->
<script src="/js/lib/react{{min}}.js"></script> <script src="/js/lib/react{{min}}.js"></script>
<script src="/js/lib/react-dom{{min}}.js"></script> <script src="/js/lib/react-dom{{min}}.js"></script>
<script src="/js/lib/react-intl-with-locales{{min}}.js"></script>
<script src="/js/lib/raven.min.js"></script> <script src="/js/lib/raven.min.js"></script>
<script src="/js/main.bundle.js"></script> <script src="/js/main.bundle.js"></script>

4242
static/js/lib/react-intl-with-locales.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -21,7 +21,8 @@ module.exports = {
externals: { externals: {
'react': 'React', 'react': 'React',
'react/addons': 'React', 'react/addons': 'React',
'react-dom': 'ReactDOM' 'react-dom': 'ReactDOM',
'react-intl': 'ReactIntl'
}, },
output: { output: {
path: path.resolve(__dirname, 'build/js'), path: path.resolve(__dirname, 'build/js'),