Bug 900946 - moduleStack now plays smarter with urls. r=gozala

This commit is contained in:
David Rajchenbach-Teller 2013-08-06 17:57:08 -04:00
parent def8e52aa1
commit 2930f3c727

View File

@ -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");
} }
}; };