Merge pull request #1346 from ethereum/yann300-patch-14

Fix relative import
pull/3094/head
yann300 7 years ago committed by GitHub
commit b11d4443c8
  1. 2
      src/app/compiler/compiler-imports.js

@ -65,7 +65,7 @@ module.exports = class CompilerImports {
} }
isRelativeImport (url) { isRelativeImport (url) {
return /^([A-Za-z0-9]+)/.exec(url) return /^([^/]+)/.exec(url)
} }
import (url, loadingCb, cb) { import (url, loadingCb, cb) {

Loading…
Cancel
Save