1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 16:47:59 +01:00

Junk dactyl.{evalExpression,variableReference}.

Replace mappings.getMapLeader() with a mappings.mapLeader property.
This commit is contained in:
Doug Kearns
2010-09-28 18:53:35 +10:00
parent 0d56dac3ac
commit 37d94aaed9
6 changed files with 54 additions and 123 deletions

View File

@@ -93,7 +93,7 @@ const Hints = Module("hints", {
* Display the current status to the user.
*/
_updateStatusline: function () {
statusline.updateInputBuffer((hints.escNumbers ? mappings.getMapLeader() : "") +
statusline.updateInputBuffer((hints.escNumbers ? mappings.mapLeader : "") +
(this._hintNumber ? this.getHintString(this._hintNumber) : ""));
},
@@ -849,7 +849,7 @@ const Hints = Module("hints", {
}
break;
case mappings.getMapLeader():
case mappings.mapLeader:
hints.escNumbers = !hints.escNumbers;
if (hints.escNumbers && this._usedTabKey)
this._hintNumber = 0;