mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 08:42:27 +01:00
Generally insignificant aesthetic changes.
This commit is contained in:
@@ -68,7 +68,6 @@ function IO() //{{{
|
||||
const EXTENSION_NAME = config.name.toLowerCase(); // "vimperator" or "muttator"
|
||||
|
||||
const downloadManager = Cc["@mozilla.org/download-manager;1"].createInstance(Ci.nsIDownloadManager);
|
||||
const ioService = services.get("io");
|
||||
|
||||
var processDir = services.get("directory").get("CurWorkD", Ci.nsIFile);
|
||||
var cwd = processDir;
|
||||
@@ -901,7 +900,7 @@ lookup:
|
||||
liberator.echomsg("sourcing " + filename.quote(), 2);
|
||||
|
||||
let str = self.readFile(file);
|
||||
let uri = ioService.newFileURI(file);
|
||||
let uri = services.get("io").newFileURI(file);
|
||||
|
||||
// handle pure JavaScript files specially
|
||||
if (/\.js$/.test(filename))
|
||||
|
||||
Reference in New Issue
Block a user