Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 2bb4023

Browse files
committed
relative dynamic backwards compat
1 parent f3f2c89 commit 2bb4023

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/loader.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,9 @@ function logloads(loads) {
659659
},
660660
// 26.3.3.8
661661
'import': function(name, parentName, parentAddress) {
662+
if (typeof parentName == 'object')
663+
parentName = parentName.name;
664+
662665
// run normalize first
663666
var loaderObj = this;
664667

0 commit comments

Comments
 (0)