5digits / dactyl

Pentadactyl and other related Gecko extensions
Other
469 stars 98 forks source link

Use [].concat instead of Array.concat #172

Open betaveros opened 8 years ago

betaveros commented 8 years ago

It appears that Array.concat('foo') gives an array with a String object instead of a primitive string value, and this breaks things. (I have no idea why Array.concat even worked at all in the first place; it definitely fails in Chrome, for example. Only Array.prototype.concat seems to exist.)

Fixes setting the defsearch option.