1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-07 10:23:33 +02:00

Add Option.has(). Improve JS completion.

This commit is contained in:
Kris Maglione
2008-10-07 03:19:40 +00:00
parent 0f438cb499
commit 3169a93825
6 changed files with 42 additions and 44 deletions

View File

@@ -253,7 +253,7 @@ liberator.AutoCommands = function () //{{{
{
let events = liberator.options["eventignore"].split(",");
if (events.some(function (e) e == "all" || e == event))
if (liberator.options.get("eventignore").has("all", event))
return;
let autoCmds = store.filter(function (autoCmd) autoCmd.event == event);