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

Commit bfe3f31

Browse files
committed
fixup loader reference
1 parent c09aaf0 commit bfe3f31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/register-loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ function ContextualLoader (loader, key) {
511511
throw new TypeError('Cannot subclass the contextual loader only Reflect.Loader.');
512512
};*/
513513
ContextualLoader.prototype.import = function (key) {
514-
if (loader.trace)
515-
traceDynamicLoad(loader, this.key, key);
514+
if (this.loader.trace)
515+
traceDynamicLoad(this.loader, this.key, key);
516516
return this.loader.import(key, this.key);
517517
};
518518
/*ContextualLoader.prototype.resolve = function (key) {

0 commit comments

Comments
 (0)