1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 05:45:45 +01:00

Import part of top patch in queue: Add no-op option hive for plugin API reasons, cleanup some related code.

This commit is contained in:
Kris Maglione
2011-08-16 21:17:52 -04:00
parent 01fd946df1
commit 1ad3fdf195
7 changed files with 52 additions and 20 deletions

View File

@@ -119,12 +119,9 @@ var Map = Class("Map", {
.map(function ([i, prop]) [prop, this[i]], arguments)
.toObject();
let orig = args;
args = update({
context: contexts.context,
doc: this.hive.group.lastDocument
}, args);
update(args, this.hive.argsExtra(args), orig);
args = this.hive.makeArgs(this.hive.group.lastDocument,
contexts.context,
args);
let self = this;
function repeat() self.action(args)