1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-02 08:15:46 +01:00

Crude source line linkification in :*usage.

This commit is contained in:
Kris Maglione
2010-12-03 18:11:05 -05:00
parent 4f696a4a2e
commit 252e7450f1
6 changed files with 42 additions and 10 deletions

View File

@@ -140,6 +140,7 @@ const Mappings = Module("mappings", {
_addMap: function (map) {
let where = map.user ? this._user : this._main;
map.definedAt = Components.stack.caller.caller;
map.modes.forEach(function (mode) {
if (!(mode in where))
where[mode] = [];