Skip to content

Commit

Permalink
Fix #13789: Don't throw when module === null. Close jquerygh-1269.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiemonge authored and mgol committed May 20, 2013
1 parent df372ad commit eabb56c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exports.js
@@ -1,4 +1,4 @@
if ( typeof module === "object" && typeof module.exports === "object" ) {
if ( typeof module === "object" && module && typeof module.exports === "object" ) {
// Expose jQuery as module.exports in loaders that implement the Node
// module pattern (including browserify). Do not create the global, since
// the user will be storing it themselves locally, and globals are frowned
Expand Down

0 comments on commit eabb56c

Please sign in to comment.