mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 13:47:57 +01:00
Formatting fixes.
This commit is contained in:
@@ -647,7 +647,8 @@ function Bookmarks() //{{{
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
charset = PlacesUtils.history.getCharsetForURI(makeURI(shortcutURL));
|
charset = PlacesUtils.history.getCharsetForURI(makeURI(shortcutURL));
|
||||||
} catch (e) { }
|
}
|
||||||
|
catch (e) {}
|
||||||
}
|
}
|
||||||
var encodedParam = "";
|
var encodedParam = "";
|
||||||
if (charset)
|
if (charset)
|
||||||
|
|||||||
@@ -610,7 +610,8 @@ function Buffer() //{{{
|
|||||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||||
.getInterface(Ci.nsIDOMWindowUtils)
|
.getInterface(Ci.nsIDOMWindowUtils)
|
||||||
.getDocumentMetadata("content-disposition");
|
.getDocumentMetadata("content-disposition");
|
||||||
} catch (e) {}
|
}
|
||||||
|
catch (e) {}
|
||||||
|
|
||||||
window.internalSave(doc.location.href, doc, null, contentDisposition,
|
window.internalSave(doc.location.href, doc, null, contentDisposition,
|
||||||
doc.contentType, false, null, chosenData, doc.referrer ?
|
doc.contentType, false, null, chosenData, doc.referrer ?
|
||||||
|
|||||||
@@ -120,12 +120,6 @@ const config = { //{{{
|
|||||||
|
|
||||||
// they are sorted by relevance, not alphabetically
|
// they are sorted by relevance, not alphabetically
|
||||||
helpFiles: ["intro.html", "version.html"],
|
helpFiles: ["intro.html", "version.html"],
|
||||||
/* "tutorial.html", "starting.html",
|
|
||||||
"browsing.html", "buffer.html", "pattern.html", "options.html",
|
|
||||||
"tabs.html", "hints.html", "map.html", "eval.html", "marks.html",
|
|
||||||
"repeat.html", "autocommands.html", "print.html", "developer.html",
|
|
||||||
"various.html"
|
|
||||||
],*/
|
|
||||||
|
|
||||||
get ignoreKeys() {
|
get ignoreKeys() {
|
||||||
delete this.ignoreKeys;
|
delete this.ignoreKeys;
|
||||||
@@ -133,7 +127,7 @@ const config = { //{{{
|
|||||||
"<Return>": modes.NORMAL | modes.INSERT,
|
"<Return>": modes.NORMAL | modes.INSERT,
|
||||||
"<Space>": modes.NORMAL | modes.INSERT,
|
"<Space>": modes.NORMAL | modes.INSERT,
|
||||||
"<Up>": modes.NORMAL | modes.INSERT,
|
"<Up>": modes.NORMAL | modes.INSERT,
|
||||||
"<Down>": modes.NORMAL | modes.INSERT,
|
"<Down>": modes.NORMAL | modes.INSERT
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -164,7 +158,7 @@ const config = { //{{{
|
|||||||
scripts: [
|
scripts: [
|
||||||
"addressbook.js",
|
"addressbook.js",
|
||||||
"mail.js",
|
"mail.js",
|
||||||
"tabs.js",
|
"tabs.js"
|
||||||
],
|
],
|
||||||
|
|
||||||
init: function ()
|
init: function ()
|
||||||
|
|||||||
@@ -467,8 +467,8 @@ const config = { //{{{
|
|||||||
"Redraw the screen",
|
"Redraw the screen",
|
||||||
function ()
|
function ()
|
||||||
{
|
{
|
||||||
let wu = window.QueryInterface(Ci.nsIInterfaceRequestor).
|
let wu = window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||||
getInterface(Ci.nsIDOMWindowUtils);
|
.getInterface(Ci.nsIDOMWindowUtils);
|
||||||
wu.redraw();
|
wu.redraw();
|
||||||
modes.show();
|
modes.show();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user