diff options
author | David DeSandro <desandrocodes@gmail.com> | 2015-10-27 17:06:30 -0400 |
---|---|---|
committer | David DeSandro <desandrocodes@gmail.com> | 2015-10-27 17:06:30 -0400 |
commit | 6cad113ca365f67a1bd25de44ba8b025411119c3 (patch) | |
tree | 6bc5b6fa3a93045f407231cc6ca0281ac652774f | |
parent | bc8ff0ab33fa5427ba0213909e65cb26deafb6f1 (diff) | |
download | imagesloaded-origin/no-cache.zip imagesloaded-origin/no-cache.tar.gz imagesloaded-origin/no-cache.tar.bz2 |
fix umd for exports; Fixes #137origin/no-cache
-rw-r--r-- | imagesloaded.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imagesloaded.js b/imagesloaded.js index f46e8a9..33a3e22 100644 --- a/imagesloaded.js +++ b/imagesloaded.js @@ -17,7 +17,7 @@ ], function( EventEmitter, eventie ) { return factory( window, EventEmitter, eventie ); }); - } else if ( typeof exports == 'object' ) { + } else if ( typeof module == 'object' && module.exports ) { // CommonJS module.exports = factory( window, |