1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 11:34:12 +01:00

Fix Commands.quote.

This commit is contained in:
Kris Maglione
2011-01-25 21:05:01 -05:00
parent b81f4be8fd
commit d9300049b0

View File

@@ -1214,7 +1214,7 @@ var Commands = Module("commands", {
},
quote: function quote(str) Commands.quoteArg[
/[\b\f\n\r\t]/.test(str) ? "'" :
/[\b\f\n\r\t]/.test(str) ? '"' :
/[\s"'\\]|^$|^-/.test(str) ? "'"
: ""](str)
}, {