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

Revert commandline.status, commandline.error

This commit is contained in:
Kris Maglione
2008-12-16 17:53:27 -05:00
parent 672e109c67
commit 4fbc88f975
4 changed files with 7 additions and 31 deletions

View File

@@ -526,12 +526,12 @@ function IO() //{{{
{
let file = Components.classes["@mozilla.org/file/local;1"]
.createInstance(Components.interfaces.nsILocalFile);
let protocolHandler = Components.classes["@mozilla.org/network/protocol;1?name=file"]
.createInstance(Components.interfaces.nsIFileProtocolHandler);
if (/file:\/\//.test(path))
{
file = protocolHandler.getFileFromURLSpec(path);
file = Components.classes["@mozilla.org/network/protocol;1?name=file"]
.createInstance(Components.interfaces.nsIFileProtocolHandler)
.getFileFromURLSpec(path);
}
else
{