File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 137
137
138
138
( function ( ) {
139
139
test ( 'supports loading ' + basename + ' as the "lodash" module' , function ( ) {
140
- if ( window . document && window . define && define . amd ) {
140
+ if ( window . define && define . amd ) {
141
141
equal ( ( lodashModule || { } ) . moduleName , 'lodash' ) ;
142
142
} else {
143
143
skipTest ( ) ;
144
144
}
145
145
} ) ;
146
146
147
147
test ( 'supports loading ' + basename + ' with the Require.js "shim" configuration option' , function ( ) {
148
- if ( window . document && window . define && define . amd ) {
148
+ if ( window . define && define . amd ) {
149
149
equal ( ( shimmedModule || { } ) . moduleName , 'shimmed' ) ;
150
150
} else {
151
151
skipTest ( ) ;
152
152
}
153
153
} ) ;
154
154
155
155
test ( 'supports loading ' + basename + ' as the "underscore" module' , function ( ) {
156
- if ( window . document && window . define && define . amd ) {
156
+ if ( window . define && define . amd ) {
157
157
equal ( ( underscoreModule || { } ) . moduleName , 'underscore' ) ;
158
158
} else {
159
159
skipTest ( ) ;
You can’t perform that action at this time.
0 commit comments