File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 8
8
// that do not support module.exports or if you want to define a module
9
9
// with a circular dependency, see commonjsAdapter.js
10
10
11
- // Help Node out by setting up define.
12
- if ( typeof module === 'object' && typeof define !== 'function' ) {
13
- var define = function ( factory ) {
14
- module . exports = factory ( require , exports , module ) ;
15
- } ;
16
- }
11
+ ( function ( define ) {
12
+
13
+ define ( function ( require , exports , module ) {
14
+ var b = require ( 'b' ) ;
17
15
18
- define ( function ( require , exports , module ) {
19
- var b = require ( 'b' ) ;
16
+ return function ( ) { } ;
17
+ } ) ;
18
+
19
+ } ) ( // Help Node out by setting up define.
20
+ typeof module === 'object' && typeof define !== 'function'
21
+ ? function ( factory ) { module . exports = factory ( require , exports , module ) ; }
22
+ : define
23
+ ) ;
20
24
21
- return function ( ) { } ;
22
- } ) ;
You can’t perform that action at this time.
0 commit comments