mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 23:27:58 +01:00
Merge branch 'master' of vimperator.org:/git/vimperator/liberator
This commit is contained in:
@@ -1101,10 +1101,9 @@ lookup:
|
||||
}; //}}}
|
||||
|
||||
IO.PATH_SEP = (function () {
|
||||
let file = services.create("file");
|
||||
let pathsep = "/";
|
||||
try { file.initWithPath("/"); } catch(e) { pathsep = "\\"; }
|
||||
return pathsep;
|
||||
let f = services.get("directory").get("CurProcD", Ci.nsIFile);
|
||||
f.append("foo");
|
||||
return f.path.substr(f.parent.path.length, 1);
|
||||
})();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user