do not include trailing slash in scriptOptions.base
This commit is contained in:
parent
3cc878f4c1
commit
8fbe921ad9
1 changed files with 3 additions and 4 deletions
|
|
@ -97,10 +97,9 @@ exports.init = function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var m = src.match(/^(?:(.*\/)ace\.js)(?:\?|$)/);
|
var m = src.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);
|
||||||
if (m) {
|
if (m)
|
||||||
scriptUrl = m[1] || m[2];
|
scriptUrl = m[1];
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scriptUrl) {
|
if (scriptUrl) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue