1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 01:14:13 +01:00

Move overlay magic from util to overlay module.

This commit is contained in:
Kris Maglione
2011-08-15 00:03:57 -04:00
parent 681af3e618
commit 07d6099a95
10 changed files with 282 additions and 259 deletions

View File

@@ -40,7 +40,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
styles.registerSheet("resource://dactyl-skin/dactyl.css");
this.cleanups = [];
this.cleanups.push(util.overlayObject(window, {
this.cleanups.push(overlay.overlayObject(window, {
focusAndSelectUrlBar: function focusAndSelectUrlBar() {
switch (options.get("strictfocus").getKey(document.documentURIObject || util.newURI(document.documentURI), "moderate")) {
case "laissez-faire":
@@ -305,7 +305,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
};
XML.ignoreWhitespace = true;
if (!elems.bell)
util.overlayWindow(window, {
overlay.overlayWindow(window, {
objects: elems,
prepend: <>
<window id={document.documentElement.id} xmlns={XUL}>