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

trivial formatting improvements

This commit is contained in:
Doug Kearns
2008-10-05 09:55:56 +00:00
parent d89df7c4e1
commit 86adfc396a
5 changed files with 17 additions and 17 deletions

View File

@@ -603,7 +603,7 @@ liberator.Events = function () //{{{
return;
let name = file.leafName.replace(/\.vimp$/i, "");
macros.set(name, liberator.io.readFile(file).split(/\n/)[0]);
macros.set(name, liberator.io.readFile(file).split("\n")[0]);
liberator.log("Macro " + name + " added: " + macros.get(name), 5);
});
@@ -720,7 +720,7 @@ liberator.Events = function () //{{{
// removeEventListeners() to avoid mem leaks
liberator.dump("TODO: remove all eventlisteners\n");
if (typeof(getBrowser) != "undefined")
if (typeof getBrowser != "undefined")
getBrowser().removeProgressListener(this.progressListener);
window.removeEventListener("popupshown", enterPopupMode, true);