This repository was archived by the owner on Jul 13, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 42
42
"minimist" : " ^1.1.0" ,
43
43
"mocha" : " ^2.0.1" ,
44
44
"regenerator" : " ^0.8.9" ,
45
- "traceur" : " 0.0.91 " ,
46
- "typescript" : " next "
45
+ "traceur" : " 0.0.93 " ,
46
+ "typescript" : " ^1.6.2 "
47
47
},
48
48
"keywords" : [
49
49
" script" ,
Original file line number Diff line number Diff line change @@ -366,13 +366,14 @@ function logloads(loads) {
366
366
if ( loader . loads [ i ] . name == name ) {
367
367
existingLoad = loader . loads [ i ] ;
368
368
369
- if ( step == 'translate' && ! existingLoad . source ) {
369
+ if ( step == 'translate' && ! existingLoad . source ) {
370
370
existingLoad . address = stepState . moduleAddress ;
371
371
proceedToTranslate ( loader , existingLoad , Promise . resolve ( stepState . moduleSource ) ) ;
372
372
}
373
373
374
- // a primary load -> use that existing linkset
375
- if ( existingLoad . linkSets . length )
374
+ // a primary load -> use that existing linkset if it is for the direct load here
375
+ // otherwise create a new linkset unit
376
+ if ( existingLoad . linkSets . length && existingLoad . linkSets [ 0 ] . loads [ 0 ] . name == existingLoad . name )
376
377
return existingLoad . linkSets [ 0 ] . done . then ( function ( ) {
377
378
resolve ( existingLoad ) ;
378
379
} ) ;
You can’t perform that action at this time.
0 commit comments