mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 900946 - moduleStack now plays smarter with urls. r=gozala
This commit is contained in:
parent
def8e52aa1
commit
2930f3c727
@ -109,7 +109,7 @@
|
|||||||
substitute: function(source) {
|
substitute: function(source) {
|
||||||
let map = this._map;
|
let map = this._map;
|
||||||
return source.replace(this.regexp, function(url) {
|
return source.replace(this.regexp, function(url) {
|
||||||
return map.get(url);
|
return map.get(url) || url;
|
||||||
}, "g");
|
}, "g");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user