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

Fix relative import
pull/1/head
yann300 7 years ago committed by GitHub
commit 2ee4d2ec70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/compiler/compiler-imports.js

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

Loading…
Cancel
Save