diff --git a/source/jquery.textfill.js b/source/jquery.textfill.js index 825bd7a..300e15e 100644 --- a/source/jquery.textfill.js +++ b/source/jquery.textfill.js @@ -340,7 +340,7 @@ }; })(function() { - if (typeof module !== 'undefined' && module.exports) { + if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { return require('jquery'); } return window.jQuery;