Commit eabb56c2 authored by Eddie Monge's avatar Eddie Monge Committed by Michał Gołębiowski

Fix #13789: Don't throw when module === null. Close gh-1269.

parent df372ad6
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 // Expose jQuery as module.exports in loaders that implement the Node
// module pattern (including browserify). Do not create the global, since // module pattern (including browserify). Do not create the global, since
// the user will be storing it themselves locally, and globals are frowned // the user will be storing it themselves locally, and globals are frowned
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment