mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 17:35:46 +01:00
Add liberator.assert.
This commit is contained in:
@@ -105,11 +105,11 @@ Map.prototype = {
|
||||
args.push(argument);
|
||||
|
||||
let self = this;
|
||||
// FIXME: Kludge.
|
||||
if (this.names[0] != ".")
|
||||
mappings.repeat = function () self.action.apply(self, args);
|
||||
function repeat() self.action.apply(self, args);
|
||||
if (this.names[0] != ".") // FIXME: Kludge.
|
||||
mappings.repeat = repeat;
|
||||
|
||||
return this.action.apply(this, args);
|
||||
return liberator.trapErrors(repeat);
|
||||
}
|
||||
|
||||
}; //}}}
|
||||
|
||||
Reference in New Issue
Block a user