mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 08:04:11 +01:00
Promises cleanup.
This commit is contained in:
@@ -15,6 +15,9 @@ this["import"] = function import_(obj) {
|
||||
return res;
|
||||
}
|
||||
|
||||
if (typeof TextEncoder == "undefined")
|
||||
Components.utils.importGlobalProperties(["TextEncoder", "TextDecoder"]);
|
||||
|
||||
// Deal with subScriptLoader prepending crap to loaded URLs
|
||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
function loadSubScript() Services.scriptloader.loadSubScript.apply(null, arguments);
|
||||
|
||||
Reference in New Issue
Block a user