Document import of ES2015+ modules

This commit is contained in:
Daniel Gasienica
2018-02-13 09:14:49 -05:00
parent eaaf7c4160
commit be6ca2a9aa

View File

@@ -75,6 +75,7 @@
const { autoOrientImage } = require('./js/modules/auto_orient_image');
window.autoOrientImage = autoOrientImage;
// ES2015+ modules
window.Whisper = window.Whisper || {};
window.Whisper.Attachment = require('./js/modules/types/attachment');