1
0
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:
Conrad Irwin
2009-04-04 11:28:21 +01:00

View File

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