fixed bug in UMD code
This commit is contained in:
Vendored
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user