1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:57:58 +01:00

move getMapLeader() to liberator.Mappings

This commit is contained in:
Doug Kearns
2008-09-11 16:39:29 +00:00
parent eda172d8c2
commit fefa6e4609
4 changed files with 12 additions and 12 deletions

View File

@@ -948,12 +948,6 @@ liberator.Events = function () //{{{
return (key == "<Esc>" || key == "<C-[>" || key == "<C-c>");
},
getMapLeader: function ()
{
var leaderRef = liberator.variableReference("mapleader");
return leaderRef[0] ? leaderRef[0][leaderRef[1]] : "\\";
},
// argument "event" is delibarately not used, as i don't seem to have
// access to the real focus target
//