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

Don't show the "all" item in the sanitize dialog.

This commit is contained in:
Kris Maglione
2010-10-14 04:18:00 -04:00
parent 3f42eee0db
commit cd60cf81f6
4 changed files with 3 additions and 6 deletions

View File

@@ -31,10 +31,6 @@ const AutoCommands = Module("autocommands", {
* @param {string} cmd The Ex command to run.
*/
add: function (events, regex, cmd) {
if (typeof events == "string") {
events = events.split(",");
dactyl.log("DEPRECATED: the events list arg to autocommands.add() should be an array of event names");
}
events.forEach(function (event) {
this._store.push(AutoCommand(event, Option.parseRegex(regex), cmd));
}, this);