Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Jul 29, 2019
1 parent e0ae5cb commit c80f9ad
Show file tree
Hide file tree
Showing 8 changed files with 302 additions and 207 deletions.
3 changes: 1 addition & 2 deletions android/android.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* global window, navigator */
import 'fluent-intl-polyfill';
import 'intl-pluralrules';
import choo from 'choo';
import html from 'choo/html';
import Raven from 'raven-js';
Expand Down
2 changes: 1 addition & 1 deletion app/locale.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FluentBundle } from 'fluent';
import { FluentBundle } from '@fluent/bundle';

function makeBundle(locale, ftl) {
const bundle = new FluentBundle(locale, { useIsolating: false });
Expand Down
4 changes: 3 additions & 1 deletion app/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* global DEFAULTS LIMITS PREFS */
import 'core-js';
import 'fast-text-encoding'; // MS Edge support
import 'fluent-intl-polyfill';
import 'intl-pluralrules';
import choo from 'choo';
import nanotiming from 'nanotiming';
import routes from './routes';
Expand Down Expand Up @@ -47,6 +47,7 @@ if (process.env.NODE_ENV === 'production') {

const translate = await getTranslator(locale());
setTranslate(translate);
// eslint-disable-next-line require-atomic-updates
window.initialState = {
LIMITS,
DEFAULTS,
Expand All @@ -62,6 +63,7 @@ if (process.env.NODE_ENV === 'production') {
};

const app = routes(choo());
// eslint-disable-next-line require-atomic-updates
window.app = app;
app.use(experiments);
app.use(metrics);
Expand Down
Loading

0 comments on commit c80f9ad

Please sign in to comment.