File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 88// that do not support module.exports or if you want to define a module
99// with a circular dependency, see commonjsAdapter.js
1010
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' ) ;
1715
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+ ) ;
2024
21- return function ( ) { } ;
22- } ) ;
You can’t perform that action at this time.
0 commit comments