We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f19b76b commit 56eccc9Copy full SHA for 56eccc9
js/load-image-orientation.js
@@ -16,6 +16,8 @@
16
if (typeof define === 'function' && define.amd) {
17
// Register as an anonymous AMD module:
18
define(['load-image'], factory);
19
+ } else if (typeof module !== 'undefined' && module.exports) {
20
+ factory(require('./load-image'));
21
} else {
22
// Browser globals:
23
factory(window.loadImage);
0 commit comments