mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-11 06:15:46 +01:00
Bake hg version into install.rdf on XPI build. Warn users who are running in a testing branch.
--HG-- branch : groups
This commit is contained in:
@@ -259,8 +259,6 @@ var Buffer = Module("buffer", {
|
||||
* @property {Object} The document loading progress listener.
|
||||
*/
|
||||
progressListener: {
|
||||
dactylLoadCount: 0,
|
||||
|
||||
// XXX: function may later be needed to detect a canceled synchronous openURL()
|
||||
onStateChange: util.wrapCallback(function onStateChange(webProgress, request, flags, status) {
|
||||
onStateChange.superapply(this, arguments);
|
||||
@@ -273,10 +271,6 @@ var Buffer = Module("buffer", {
|
||||
statusline.progress = 0;
|
||||
|
||||
buffer._triggerLoadAutocmd("PageLoadPre", webProgress.DOMWindow.document);
|
||||
|
||||
if (document.commandDispatcher.focusedWindow == webProgress.DOMWindow && this.dactylLoadCount++)
|
||||
util.timeout(function () { modes.reset(false); },
|
||||
modes.main == modes.HINTS ? 500 : 0);
|
||||
}
|
||||
else if (flags & Ci.nsIWebProgressListener.STATE_STOP) {
|
||||
// Workaround for bugs 591425 and 606877, dactyl bug #81
|
||||
|
||||
@@ -80,8 +80,8 @@ var MOW = Module("mow", {
|
||||
widgets: Class.memoize(function () commandline.widgets),
|
||||
|
||||
body: Class.memoize(function () this.widget.contentDocument.documentElement),
|
||||
document: Class.memoize(function () this.widget.contentDocument),
|
||||
window: Class.memoize(function () this.widget.contentWindow),
|
||||
get document() this.widget.contentDocument,
|
||||
get window() this.widget.contentWindow,
|
||||
|
||||
/**
|
||||
* Display a multi-line message.
|
||||
@@ -90,6 +90,8 @@ var MOW = Module("mow", {
|
||||
* @param {string} highlightGroup
|
||||
*/
|
||||
echo: function echo(data, highlightGroup, silent) {
|
||||
this.document;
|
||||
util.dump(String(this.widget), String(this.window), String(this.document));
|
||||
let body = this.document.body;
|
||||
|
||||
this.widgets.message = null;
|
||||
|
||||
Reference in New Issue
Block a user