mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 05:34:12 +01:00
move Mappings() to the vimperator namespace
This commit is contained in:
@@ -710,7 +710,7 @@ vimperator.Events = function() //{{{
|
||||
vimperator.input.count = parseInt(count_str, 10);
|
||||
if (isNaN(vimperator.input.count))
|
||||
vimperator.input.count = -1;
|
||||
if (map.flags & Mappings.flags.ARGUMENT)
|
||||
if (map.flags & vimperator.Mappings.flags.ARGUMENT)
|
||||
{
|
||||
vimperator.input.pendingArgMap = map;
|
||||
vimperator.input.buffer += key;
|
||||
@@ -725,7 +725,7 @@ vimperator.Events = function() //{{{
|
||||
vimperator.input.buffer = "";
|
||||
}
|
||||
// no count support for these commands yet
|
||||
else if (map.flags & Mappings.flags.MOTION)
|
||||
else if (map.flags & vimperator.Mappings.flags.MOTION)
|
||||
{
|
||||
vimperator.input.pendingMotionMap = map;
|
||||
vimperator.input.buffer = "";
|
||||
|
||||
Reference in New Issue
Block a user