styleguide: Make filesize and Signal.Util.GoogleChrome available

This commit is contained in:
Scott Nonnenberg 2018-04-27 08:51:46 -07:00
parent 73a0032b75
commit ccf14710a3

View file

@ -107,6 +107,8 @@ import localeMessages from '../../_locales/en/messages.json';
// @ts-ignore
import { setup } from '../../js/modules/i18n';
import * as Util from '../util';
import filesize from 'filesize';
const i18n = setup(locale, localeMessages);
@ -137,6 +139,8 @@ parent.Signal.Types.MIME = MIME;
parent.Signal.Components = {
Quote,
};
parent.Signal.Util = Util;
parent.filesize = filesize;
parent.ConversationController._initialFetchComplete = true;
parent.ConversationController._initialPromise = Promise.resolve();