diff --git a/dist/notify.js b/dist/notify.js index 55d2775..7b3736c 100644 --- a/dist/notify.js +++ b/dist/notify.js @@ -13,7 +13,7 @@ // build a jQuery instance, we normalize how we use modules // that require this pattern but the window provided is a noop // if it's defined (how jquery works) - if ( window ) { + if ( typeof window !== 'undefined' ) { jQuery = require('jquery'); } else {