1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 19:27:57 +01:00

Add missing em:type flags to install.rdf files.

This commit is contained in:
Kris Maglione
2011-01-25 19:03:35 -05:00
parent ec42ad5a5a
commit 44bdb6e666
4 changed files with 33 additions and 30 deletions

View File

@@ -1213,9 +1213,10 @@ var Commands = Module("commands", {
return [len - str.length, arg, quote];
},
quote: function quote(str) Commands.quoteArg[/[\s"'\\]|^$|^-/.test(str)
? (/[\b\f\n\r\t]/.test(str) ? '"' : "'")
: ""](str)
quote: function quote(str) Commands.quoteArg[
/[\b\f\n\r\t]/.test(str) ? "'" :
/[\s"'\\]|^$|^-/.test(str) ? "'"
: ""](str)
}, {
completion: function () {
completion.command = function command(context) {