From 4f88f06677335fa948a3e3502f86ca914b45de20 Mon Sep 17 00:00:00 2001 From: Evan Carroll Date: Tue, 3 Nov 2015 10:33:50 -0600 Subject: [PATCH] fixed bug in UMD code --- dist/notify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {