diff options
author | teramako | 2008-10-15 15:28:45 +0000 |
---|---|---|
committer | teramako | 2008-10-15 15:28:45 +0000 |
commit | 3dc8e4e07e475876801ff602bd9e047c92203934 (patch) | |
tree | d41e994a207d77c8ba74c80bce7a0879b2517c10 /feedSomeKeys.js | |
parent | 4ca3ee635c6624add6514b2b8a5675ef61c67813 (diff) | |
download | vimperator-plugins-3dc8e4e07e475876801ff602bd9e047c92203934.tar.bz2 |
namespaceの省略(vimperator CVS headと旧版との互換性維持のため)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21395 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'feedSomeKeys.js')
-rw-r--r-- | feedSomeKeys.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/feedSomeKeys.js b/feedSomeKeys.js index 9543a49..ba4419a 100644 --- a/feedSomeKeys.js +++ b/feedSomeKeys.js @@ -174,13 +174,13 @@ function replaceUserMap(origKey, feedKey, useVkey){ origMaps.push(clone); } } - var map = new (liberator.Map)([modes.NORMAL], [origKey], origKey + ' -> ' + feedKey, + var map = new Map([modes.NORMAL], [origKey], origKey + ' -> ' + feedKey, function(count){ count = count > 1 ? count : 1; for (var i=0; i<count; i++){ feedKeyIntoContent(feedKey, useVkey); } - }, { flags:liberator.Mappings.flags.COUNT, rhs:feedKey, noremap:true }); + }, { flags:Mappings.flags.COUNT, rhs:feedKey, noremap:true }); addUserMap(map); if (feedMaps.some(function(fmap){ if (fmap.names[0] != origKey) return false; |