1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 21:28:00 +01:00

Merge branch 'master' of vimperator.org:/git/vimperator/liberator

This commit is contained in:
Conrad Irwin
2009-04-04 11:28:21 +01:00

View File

@@ -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);
})();
/**