mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 09:25:45 +01:00
Bump Firefox maxVersion.
This commit is contained in:
@@ -859,7 +859,8 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
|
|
||||||
data.push("<"); data.push(node.localName);
|
data.push("<"); data.push(node.localName);
|
||||||
if (node instanceof HTMLHtmlElement)
|
if (node instanceof HTMLHtmlElement)
|
||||||
data.push(" xmlns=" + XHTML.uri.quote());
|
data.push(" xmlns=" + XHTML.uri.quote(),
|
||||||
|
" xmlns:dactyl=" + NS.uri.quote());
|
||||||
|
|
||||||
for (let { name, value } in array.iterValues(node.attributes)) {
|
for (let { name, value } in array.iterValues(node.attributes)) {
|
||||||
if (name == "dactyl:highlight") {
|
if (name == "dactyl:highlight") {
|
||||||
@@ -880,11 +881,10 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
chromeFiles[value] = value.replace(/.*\//, "");
|
chromeFiles[value] = value.replace(/.*\//, "");
|
||||||
value = value.replace(/.*\//, "");
|
value = value.replace(/.*\//, "");
|
||||||
}
|
}
|
||||||
data.push(" ");
|
|
||||||
data.push(name);
|
data.push(" ", name, '="',
|
||||||
data.push('="');
|
<>{value}</>.toXMLString().replace(/"/g, """),
|
||||||
data.push(<>{value}</>.toXMLString().replace(/"/g, """));
|
'"');
|
||||||
data.push('"');
|
|
||||||
}
|
}
|
||||||
if (node.localName in empty)
|
if (node.localName in empty)
|
||||||
data.push(" />");
|
data.push(" />");
|
||||||
@@ -893,7 +893,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
if (node instanceof HTMLHeadElement)
|
if (node instanceof HTMLHeadElement)
|
||||||
data.push(<link rel="stylesheet" type="text/css" href="help.css"/>.toXMLString());
|
data.push(<link rel="stylesheet" type="text/css" href="help.css"/>.toXMLString());
|
||||||
Array.map(node.childNodes, fix);
|
Array.map(node.childNodes, fix);
|
||||||
data.push("</"); data.push(node.localName); data.push(">");
|
data.push("</", node.localName, ">");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Node.TEXT_NODE:
|
case Node.TEXT_NODE:
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ var Services = Module("Services", {
|
|||||||
this.add("extensionManager", "@mozilla.org/extensions/manager;1", "nsIExtensionManager");
|
this.add("extensionManager", "@mozilla.org/extensions/manager;1", "nsIExtensionManager");
|
||||||
this.add("externalProtocol", "@mozilla.org/uriloader/external-protocol-service;1", "nsIExternalProtocolService");
|
this.add("externalProtocol", "@mozilla.org/uriloader/external-protocol-service;1", "nsIExternalProtocolService");
|
||||||
this.add("favicon", "@mozilla.org/browser/favicon-service;1", "nsIFaviconService");
|
this.add("favicon", "@mozilla.org/browser/favicon-service;1", "nsIFaviconService");
|
||||||
|
this.add("file:", "@mozilla.org/network/protocol;1?name=file", "nsIFileProtocolHandler");
|
||||||
this.add("focus", "@mozilla.org/focus-manager;1", "nsIFocusManager");
|
this.add("focus", "@mozilla.org/focus-manager;1", "nsIFocusManager");
|
||||||
this.add("history", "@mozilla.org/browser/global-history;2",
|
this.add("history", "@mozilla.org/browser/global-history;2",
|
||||||
["nsIBrowserHistory", "nsIGlobalHistory3", "nsINavHistoryService", "nsPIPlacesDatabase"]);
|
["nsIBrowserHistory", "nsIGlobalHistory3", "nsINavHistoryService", "nsPIPlacesDatabase"]);
|
||||||
@@ -67,7 +68,6 @@ var Services = Module("Services", {
|
|||||||
|
|
||||||
this.addClass("CharsetConv", "@mozilla.org/intl/scriptableunicodeconverter", "nsIScriptableUnicodeConverter", "charset");
|
this.addClass("CharsetConv", "@mozilla.org/intl/scriptableunicodeconverter", "nsIScriptableUnicodeConverter", "charset");
|
||||||
this.addClass("File", "@mozilla.org/file/local;1", "nsILocalFile");
|
this.addClass("File", "@mozilla.org/file/local;1", "nsILocalFile");
|
||||||
this.addClass("file:", "@mozilla.org/network/protocol;1?name=file", "nsIFileProtocolHandler");
|
|
||||||
this.addClass("Find", "@mozilla.org/embedcomp/rangefind;1", "nsIFind");
|
this.addClass("Find", "@mozilla.org/embedcomp/rangefind;1", "nsIFind");
|
||||||
this.addClass("HtmlConverter","@mozilla.org/widget/htmlformatconverter;1", "nsIFormatConverter");
|
this.addClass("HtmlConverter","@mozilla.org/widget/htmlformatconverter;1", "nsIFormatConverter");
|
||||||
this.addClass("HtmlEncoder", "@mozilla.org/layout/htmlCopyEncoder;1", "nsIDocumentEncoder");
|
this.addClass("HtmlEncoder", "@mozilla.org/layout/htmlCopyEncoder;1", "nsIDocumentEncoder");
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<Description
|
<Description
|
||||||
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||||
em:minVersion="3.5"
|
em:minVersion="3.5"
|
||||||
em:maxVersion="4.0.*"/>
|
em:maxVersion="4.1a1pre"/>
|
||||||
</em:targetApplication>
|
</em:targetApplication>
|
||||||
</Description>
|
</Description>
|
||||||
</RDF>
|
</RDF>
|
||||||
|
|||||||
Reference in New Issue
Block a user