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

move array utility methods to util.Array

This commit is contained in:
Doug Kearns
2008-10-19 07:26:17 +00:00
parent ca28d52ed4
commit d14a32afa3
9 changed files with 52 additions and 63 deletions

View File

@@ -278,16 +278,10 @@ function Mappings() //{{{
return {
// NOTE: just normal mode for now
__iterator__: function ()
{
return mappingsIterator([modes.NORMAL], main);
},
__iterator__: function () mappingsIterator([modes.NORMAL], main),
// used by :mkvimperatorrc to save mappings
getUserIterator: function (mode)
{
return mappingsIterator(mode, user);
},
getUserIterator: function (mode) mappingsIterator(mode, user),
add: function (modes, keys, description, action, extra)
{