fix #822 using urlArgs in require breaks Ace's workers
This commit is contained in:
parent
1af02ea4eb
commit
56c77291f7
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ var WorkerClient = function(topLevelNamespaces, mod, classname) {
|
||||||
var tlns = {};
|
var tlns = {};
|
||||||
for (var i=0; i<topLevelNamespaces.length; i++) {
|
for (var i=0; i<topLevelNamespaces.length; i++) {
|
||||||
var ns = topLevelNamespaces[i];
|
var ns = topLevelNamespaces[i];
|
||||||
var path = this.$normalizePath(require.toUrl(ns, null, "_").replace(/.js$/, ""));
|
var path = this.$normalizePath(require.toUrl(ns, null, "_").replace(/.js(\?.*)?$/, ""));
|
||||||
|
|
||||||
tlns[ns] = path;
|
tlns[ns] = path;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue