🎨 Shorten `autoOrientImage` import
This commit is contained in:
parent
d07433e3cf
commit
ec35710d00
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue