1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 08:25:45 +01:00

Add missing semicolons, fix whitespace and normalise Vim modelines.

This commit is contained in:
Doug Kearns
2013-08-03 01:37:19 +10:00
parent bbb14eaf83
commit f291454e23
62 changed files with 182 additions and 195 deletions

View File

@@ -25,7 +25,7 @@ var listener = function listener(action, event)
this.dactyl[install.error ? "echoerr" : "echomsg"](
_("addon.error", action, event, (install.name || install.sourceURI.spec) +
(install.error ? ": " + addons.errors[install.error] : "")));
}
};
var AddonListener = Class("AddonListener", {
init: function init(modules) {
@@ -120,7 +120,7 @@ var actions = {
},
get filter() {
return function (addon) !addon.userDisabled &&
!(addon.operationsRequiringRestart & (AddonManager.OP_NEEDS_RESTART_ENABLE | AddonManager.OP_NEEDS_RESTART_DISABLE))
!(addon.operationsRequiringRestart & (AddonManager.OP_NEEDS_RESTART_ENABLE | AddonManager.OP_NEEDS_RESTART_DISABLE));
},
perm: "disable"
},
@@ -206,7 +206,7 @@ var Addon = Class("Addon", {
["span", { highlight: pending[0] }, pending[1]],
" on ",
["a", { href: "#", "dactyl:command": "dactyl.restart" }, "restart"],
")"]
")"];
return info;
},
@@ -498,4 +498,4 @@ endModule();
} catch(e){ if (isString(e)) e = Error(e); dump(e.fileName+":"+e.lineNumber+": "+e+"\n" + e.stack); }
// vim: set fdm=marker sw=4 ts=4 et ft=javascript:
// vim: set fdm=marker sw=4 sts=4 ts=8 et ft=javascript: