mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:07:59 +01:00
Bah.
This commit is contained in:
@@ -672,7 +672,6 @@ var Buffer = Module("buffer", {
|
|||||||
|
|
||||||
persist.progressListener = update(Object.create(downloadListener), {
|
persist.progressListener = update(Object.create(downloadListener), {
|
||||||
onStateChange: util.wrapCallback(function onStateChange(progress, request, flags, status) {
|
onStateChange: util.wrapCallback(function onStateChange(progress, request, flags, status) {
|
||||||
util.dump(status, [k for ([k, v] in iter(Ci.nsIWebProgressListener)) if (v & flags)].join("|"))
|
|
||||||
if (callback && (flags & Ci.nsIWebProgressListener.STATE_STOP) && status == 0)
|
if (callback && (flags & Ci.nsIWebProgressListener.STATE_STOP) && status == 0)
|
||||||
dactyl.trapErrors(callback, self, uri, file, progress, request, flags, status);
|
dactyl.trapErrors(callback, self, uri, file, progress, request, flags, status);
|
||||||
|
|
||||||
|
|||||||
@@ -658,17 +658,10 @@ var Editor = Module("editor", {
|
|||||||
mappings.add([modes.INPUT, modes.CARET],
|
mappings.add([modes.INPUT, modes.CARET],
|
||||||
["<*-CR>", "<*-BS>", "<*-Del>", "<*-Left>", "<*-Right>", "<*-Up>", "<*-Down>",
|
["<*-CR>", "<*-BS>", "<*-Del>", "<*-Left>", "<*-Right>", "<*-Up>", "<*-Down>",
|
||||||
"<*-Home>", "<*-End>", "<*-PageUp>", "<*-PageDown>",
|
"<*-Home>", "<*-End>", "<*-PageUp>", "<*-PageDown>",
|
||||||
"<M-c>", "<M-v>"],
|
"<M-c>", "<M-v>", "<*-Tab>"],
|
||||||
"Handled by " + config.host,
|
"Handled by " + config.host,
|
||||||
function () Events.PASS_THROUGH);
|
function () Events.PASS_THROUGH);
|
||||||
|
|
||||||
mappings.add([modes.INSERT, modes.NORMAL],
|
|
||||||
["<Tab>"], "Select the next element in the tab sequence",
|
|
||||||
function () Events.PASS);
|
|
||||||
mappings.add([modes.INSERT, modes.NORMAL],
|
|
||||||
["<S-Tab>"], "Select the previous element in the tab sequence",
|
|
||||||
function () Events.PASS);
|
|
||||||
|
|
||||||
mappings.add([modes.INSERT],
|
mappings.add([modes.INSERT],
|
||||||
["<Space>", "<Return>"], "Expand Insert mode abbreviation",
|
["<Space>", "<Return>"], "Expand Insert mode abbreviation",
|
||||||
function () {
|
function () {
|
||||||
|
|||||||
@@ -629,12 +629,11 @@ var JavaScript = Module("javascript", {
|
|||||||
"Math", "NaN", "Namespace", "Number", "Object", "Proxy", "QName",
|
"Math", "NaN", "Namespace", "Number", "Object", "Proxy", "QName",
|
||||||
"ROCSSPrimitiveValue", "RangeError", "ReferenceError", "RegExp",
|
"ROCSSPrimitiveValue", "RangeError", "ReferenceError", "RegExp",
|
||||||
"StopIteration", "String", "SyntaxError", "TypeError", "URIError",
|
"StopIteration", "String", "SyntaxError", "TypeError", "URIError",
|
||||||
"Uint16Array", "Uint32Array", "Uint8Array", "XML",
|
"Uint16Array", "Uint32Array", "Uint8Array", "XML", "XMLHttpProgressEvent",
|
||||||
"XMLHttpProgressEvent", "XMLList", "XMLSerializer", "XPCNativeWrapper",
|
"XMLList", "XMLSerializer", "XPCNativeWrapper", "XPCSafeJSWrapper",
|
||||||
"XPCSafeJSWrapper", "XULControllers", "constructor", "decodeURI",
|
"XULControllers", "constructor", "decodeURI", "decodeURIComponent",
|
||||||
"decodeURIComponent", "encodeURI", "encodeURIComponent", "escape",
|
"encodeURI", "encodeURIComponent", "escape", "eval", "isFinite", "isNaN",
|
||||||
"eval", "isFinite", "isNaN", "isXMLName", "parseFloat", "parseInt",
|
"isXMLName", "parseFloat", "parseInt", "undefined", "unescape", "uneval"
|
||||||
"undefined", "unescape", "uneval"
|
|
||||||
].concat([k.substr(6) for (k in keys(Ci)) if (/^nsIDOM/.test(k))])
|
].concat([k.substr(6) for (k in keys(Ci)) if (/^nsIDOM/.test(k))])
|
||||||
.concat([k.substr(3) for (k in keys(Ci)) if (/^nsI/.test(k))])
|
.concat([k.substr(3) for (k in keys(Ci)) if (/^nsI/.test(k))])
|
||||||
.concat(this.magicalNames)
|
.concat(this.magicalNames)
|
||||||
|
|||||||
Reference in New Issue
Block a user