Expose `Attachment` type through `Whisper.Attachment`

This commit is contained in:
Daniel Gasienica 2018-02-12 16:25:26 -05:00
parent 9638fbc987
commit e2eb8e36b0
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@
const {autoOrientImage} = require('./js/modules/auto_orient_image');
window.autoOrientImage = autoOrientImage;
window.Whisper = window.Whisper || {};
window.Whisper.Attachment = require('./js/modules/types/attachment');
// We pull this in last, because the native module involved appears to be sensitive to
// /tmp mounted as noexec on Linux.
require('./js/spell_check');