1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 03:22:27 +01:00

Fix some functions that used to use args.string.

This commit is contained in:
Kris Maglione
2010-09-29 13:21:01 -04:00
parent 47f5b5e9d9
commit f7b99e9272
9 changed files with 25 additions and 25 deletions

View File

@@ -1240,8 +1240,8 @@ const Options = Module("options", {
commands.add(["let"],
"Set or list a variable",
function (args) {
args = args.literalArg.trim();
function fmt(value) (typeof value == "number" ? "#" :
args = (args[0] || "").trim();
function fmt(value) (typeof value == "number" ? "#" :
typeof value == "function" ? "*" :
" ") + value;
if (!args || args == "g:") {