mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 08:18:00 +01:00
Remove some commented-out code from Events.
This commit is contained in:
@@ -439,10 +439,6 @@ function Events() //{{{
|
|||||||
window.addEventListener("DOMMenuBarInactive", exitMenuMode, true);
|
window.addEventListener("DOMMenuBarInactive", exitMenuMode, true);
|
||||||
window.addEventListener("resize", onResize, true);
|
window.addEventListener("resize", onResize, true);
|
||||||
|
|
||||||
// window.document.addEventListener("DOMTitleChanged", function (event) {
|
|
||||||
// liberator.log("titlechanged");
|
|
||||||
// }, null);
|
|
||||||
|
|
||||||
// NOTE: the order of ["Esc", "Escape"] or ["Escape", "Esc"]
|
// NOTE: the order of ["Esc", "Escape"] or ["Escape", "Esc"]
|
||||||
// matters, so use that string as the first item, that you
|
// matters, so use that string as the first item, that you
|
||||||
// want to refer to within liberator's source code for
|
// want to refer to within liberator's source code for
|
||||||
|
|||||||
@@ -743,7 +743,7 @@ function IO() //{{{
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
return []; // XXX: or should it throw an error, probably yes?
|
return []; // XXX: or should it throw an error, probably yes?
|
||||||
// Yes --djk
|
// Yes, though frankly this should be a precondition so... --djk
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -216,6 +216,7 @@ const modes = (function () //{{{
|
|||||||
},
|
},
|
||||||
|
|
||||||
// TODO: Deprecate this in favor of addMode? --Kris
|
// TODO: Deprecate this in favor of addMode? --Kris
|
||||||
|
// Ya --djk
|
||||||
setCustomMode: function (modestr, oneventfunc, stopfunc)
|
setCustomMode: function (modestr, oneventfunc, stopfunc)
|
||||||
{
|
{
|
||||||
// TODO this.plugin[id]... ('id' maybe submode or what..)
|
// TODO this.plugin[id]... ('id' maybe submode or what..)
|
||||||
|
|||||||
Reference in New Issue
Block a user