1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 11:58:00 +01:00

Unbreak FF 3.0

This commit is contained in:
Kris Maglione
2008-11-27 10:14:49 +00:00
parent ce7bd7421f
commit 41fe490b82

View File

@@ -950,11 +950,8 @@ function Options() //{{{
let ret = {}; let ret = {};
let matches, prefix, postfix, valueGiven; let matches, prefix, postfix, valueGiven;
let [matches, prefix, name, postfix, valueGiven, operator, value] = [matches, prefix, ret.name, postfix, valueGiven, ret.operator, ret.value] =
args.match(/^\s*(no|inv)?([a-z_]+)([?&!])?\s*(([-+^]?)=(.*))?\s*$/) || []; args.match(/^\s*(no|inv)?([a-z_]+)([?&!])?\s*(([-+^]?)=(.*))?\s*$/) || [];
ret.name = name;
ret.operator = operator;
ret.value = value;
ret.args = args; ret.args = args;
ret.onlyNonDefault = false; // used for :set to print non-default options ret.onlyNonDefault = false; // used for :set to print non-default options