Skip to content
Permalink
Browse files
Fix #13789: Don't throw when module === null. Close gh-1269.
  • Loading branch information
eddiemonge authored and mgol committed May 20, 2013
1 parent df372ad commit eabb56c27484cbffd2ce4951f661df83c91e5d7a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit eabb56c

Please sign in to comment.