fix handlers reference

pull/5370/head
yann300 4 years ago committed by Aniket
parent 15c80319fc
commit bd1c70fdfd
  1. 4
      apps/remix-ide/src/app/compiler/compiler-imports.js

@ -31,8 +31,8 @@ module.exports = class CompilerImports extends Plugin {
}
isExternalUrl (url) {
const handlers = this.handlers()
return handlers.some(handler => handler.match.exec(url))
const handlers = this.urlResolver.getHandlers()
return handlers.some(handler => handler.match(url))
}
/**

Loading…
Cancel
Save