mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1225906 - Correct GCLI staticRequire after repackaging. r=ochameau
This commit is contained in:
parent
7b4320560e
commit
1269e2aa91
@ -116,7 +116,7 @@ exports.staticRequire = function(requistingModule, name) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
var filename = resourceDirName(requistingModule.id) + '/' + name;
|
||||
filename = filename.replace(/\/\.\//g, '/');
|
||||
filename = 'resource://devtools/' + filename;
|
||||
filename = 'resource://devtools/shared/gcli/source/lib/' + filename;
|
||||
|
||||
var xhr = Cc['@mozilla.org/xmlextras/xmlhttprequest;1']
|
||||
.createInstance(Ci.nsIXMLHttpRequest);
|
||||
|
Loading…
Reference in New Issue
Block a user