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 +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 22
22
}
23
23
],
24
24
"devDependencies" : {
25
- "babel-core" : " ^4.7.16 " ,
25
+ "babel-core" : " ^5.0.10 " ,
26
26
"expect.js" : " ^0.3.1" ,
27
27
"gesalakacula" : " ^1.0.0" ,
28
28
"grunt" : " ~0.4.1" ,
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ function logloads(loads) {
260
260
// store the deps as load.deps
261
261
load . declare = declare ;
262
262
load . depsList = deps ;
263
- }
263
+ }
264
264
__eval ( transpiled , __global , load ) ;
265
265
curSystem . register = curRegister ;
266
266
} ) ;
@@ -512,10 +512,11 @@ function logloads(loads) {
512
512
function linkSetFailed ( linkSet , load , exc ) {
513
513
var loader = linkSet . loader ;
514
514
515
- if ( linkSet . loads [ 0 ] . name != load . name )
515
+ if ( load && linkSet . loads [ 0 ] . name != load . name )
516
516
exc = addToError ( exc , 'Error loading "' + load . name + '" from "' + linkSet . loads [ 0 ] . name + '" at ' + ( linkSet . loads [ 0 ] . address || '<unknown>' ) + '\n' ) ;
517
517
518
- exc = addToError ( exc , 'Error loading "' + load . name + '" at ' + ( load . address || '<unknown>' ) + '\n' ) ;
518
+ if ( load )
519
+ exc = addToError ( exc , 'Error loading "' + load . name + '" at ' + ( load . address || '<unknown>' ) + '\n' ) ;
519
520
520
521
var loads = linkSet . loads . concat ( [ ] ) ;
521
522
for ( var i = 0 , l = loads . length ; i < l ; i ++ ) {
You can’t perform that action at this time.
0 commit comments