mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
🎨 Use destructuring
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user