🎨 Use destructuring

This commit is contained in:
Daniel Gasienica
2018-02-12 10:05:44 -05:00
parent 4822f49f22
commit 48c5d3155c

View File

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