1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 10:17:59 +01:00

Add <bookmark> param for the JS bookmark object to Bookmark* autocommands.

This commit is contained in:
Kris Maglione
2010-12-17 13:52:10 -05:00
parent 556c5b1903
commit 8c5abc4cf6
3 changed files with 17 additions and 11 deletions

View File

@@ -314,7 +314,7 @@ const Command = Class("Command", {
replacementText: null
}, {
bindMacro: function (args, default_, params) {
let process = String;
let process = util.identity;
let makeParams = function makeParams()
let (args = arguments)
params.map(function (name, i) [name, process(args[i])]).toObject();