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 () {
|
IO.PATH_SEP = (function () {
|
||||||
let file = services.create("file");
|
let f = services.get("directory").get("CurProcD", Ci.nsIFile);
|
||||||
let pathsep = "/";
|
f.append("foo");
|
||||||
try { file.initWithPath("/"); } catch(e) { pathsep = "\\"; }
|
return f.path.substr(f.parent.path.length, 1);
|
||||||
return pathsep;
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user