1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 10:37:59 +01:00

Remove some commented-out code from Events.

This commit is contained in:
Doug Kearns
2009-08-25 21:58:52 +10:00
parent 35574698d3
commit 97236c4839
3 changed files with 2 additions and 5 deletions

View File

@@ -439,10 +439,6 @@ function Events() //{{{
window.addEventListener("DOMMenuBarInactive", exitMenuMode, 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"]
// matters, so use that string as the first item, that you
// want to refer to within liberator's source code for

View File

@@ -743,7 +743,7 @@ function IO() //{{{
}
else
return []; // XXX: or should it throw an error, probably yes?
// Yes --djk
// Yes, though frankly this should be a precondition so... --djk
},
/**

View File

@@ -216,6 +216,7 @@ const modes = (function () //{{{
},
// TODO: Deprecate this in favor of addMode? --Kris
// Ya --djk
setCustomMode: function (modestr, oneventfunc, stopfunc)
{
// TODO this.plugin[id]... ('id' maybe submode or what..)