Unverified Commit 2ee4d2ec authored by yann300's avatar yann300 Committed by GitHub

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

Fix relative import
parents ac4c407a a0f3c79d
...@@ -65,7 +65,7 @@ module.exports = class CompilerImports { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment