fix handlers reference

pull/715/head
yann300 4 years ago committed by Aniket
parent d140fb0ffe
commit e84d376053
  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