mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:07:59 +01:00
Closes issue #1280.
This commit is contained in:
@@ -838,8 +838,14 @@ var Buffer = Module("Buffer", {
|
|||||||
else
|
else
|
||||||
persist.progressListener = downloadListener;
|
persist.progressListener = downloadListener;
|
||||||
|
|
||||||
persist.saveURI(params.uri, null, null, null, null,
|
if (persist.saveURI.length <= 7)
|
||||||
file.file, privacy);
|
persist.saveURI(params.uri, null, null, null, null,
|
||||||
|
file.file, privacy);
|
||||||
|
else
|
||||||
|
// Let's add an extra null to the middle of the arguments
|
||||||
|
// list, because why not.
|
||||||
|
persist.saveURI(params.uri, null, null, null, null, null,
|
||||||
|
file.file, privacy);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2008-2014 Kris Maglione <maglione.k at Gmail>
|
// Copyright (c) 2008-2015 Kris Maglione <maglione.k at Gmail>
|
||||||
//
|
//
|
||||||
// This work is licensed for reuse under an MIT license. Details are
|
// This work is licensed for reuse under an MIT license. Details are
|
||||||
// given in the LICENSE.txt file included with this file.
|
// given in the LICENSE.txt file included with this file.
|
||||||
@@ -684,6 +684,7 @@ var JavaScript = Module("javascript", {
|
|||||||
return [];
|
return [];
|
||||||
return completer.call(obj, context, obj, args);
|
return completer.call(obj, context, obj, args);
|
||||||
};
|
};
|
||||||
|
func.dactylCompleter.completers = completers;
|
||||||
}
|
}
|
||||||
return arguments[0];
|
return arguments[0];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user