mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 03:15:45 +01:00
Make 'doc' available to group initializer.
This commit is contained in:
@@ -119,9 +119,12 @@ var Map = Class("Map", {
|
||||
.map(function ([i, prop]) [prop, this[i]], arguments)
|
||||
.toObject();
|
||||
|
||||
args = update({ context: contexts.context },
|
||||
this.hive.argsExtra(args),
|
||||
args);
|
||||
let orig = args;
|
||||
args = update({
|
||||
context: contexts.context,
|
||||
doc: this.hive.group.lastDocument
|
||||
}, args);
|
||||
update(args, this.hive.argsExtra(args), orig);
|
||||
|
||||
let self = this;
|
||||
function repeat() self.action(args)
|
||||
|
||||
Reference in New Issue
Block a user