🎨 Shorten `autoOrientImage` import

This commit is contained in:
Daniel Gasienica 2018-02-09 16:57:48 -05:00
parent d07433e3cf
commit ec35710d00
1 changed files with 1 additions and 2 deletions

View File

@ -71,8 +71,7 @@
window.nodeNotifier = require('node-notifier');
window.loadImage = require('blueimp-load-image');
const {autoOrientImage} = require('./js/modules/autoOrientImage');
window.autoOrientImage = autoOrientImage;
window.autoOrientImage = require('./js/modules/autoOrientImage').autoOrientImage;
// We pull this in last, because the native module involved appears to be sensitive to
// /tmp mounted as noexec on Linux.