Skip to content

Commit

Permalink
styleguide: Make filesize and Signal.Util.GoogleChrome available
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Apr 27, 2018
1 parent 73a0032 commit ccf1471
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ts/styleguide/StyleGuideUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit ccf1471

Please sign in to comment.