fixed bug in UMD code

This commit is contained in:
Evan Carroll
2015-11-03 10:33:50 -06:00
parent b724df3b02
commit 4f88f06677
+1 -1
View File
@@ -13,7 +13,7 @@
// build a jQuery instance, we normalize how we use modules // build a jQuery instance, we normalize how we use modules
// that require this pattern but the window provided is a noop // that require this pattern but the window provided is a noop
// if it's defined (how jquery works) // if it's defined (how jquery works)
if ( window ) { if ( typeof window !== 'undefined' ) {
jQuery = require('jquery'); jQuery = require('jquery');
} }
else { else {