From 9f691e05aae8b0ad1c4f3fe559b0f2f2c9559ea2 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 27 Aug 2009 12:37:51 +0000 Subject: Follow HEAD for http://vimperator.org/trac/gitweb/?p=liberator.git;a=commit;h=f20c2b315bb05c2e88d0c672f07dc229cc9267d2 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35099 d0d07461-0603-4401-acd4-de1884942a52 --- encodingSwitcherCommand.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'encodingSwitcherCommand.js') diff --git a/encodingSwitcherCommand.js b/encodingSwitcherCommand.js index 8071313..309fd59 100644 --- a/encodingSwitcherCommand.js +++ b/encodingSwitcherCommand.js @@ -96,10 +96,10 @@ liberator.modules.commands.addUserCommand(['fileencoding','fenc'],'set the chara } }, { - completer: function(context, arg, special){ - let filter = context.filter; - context.completions = completion( encodings, filter); - } + completer: function(context){ + let filter = context.filter; + context.completions = completion(encodings, filter); + } } ); liberator.modules.commands.addUserCommand(['autodetector','audet'],'set auto detect character encoding', function(args) { @@ -128,10 +128,10 @@ liberator.modules.commands.addUserCommand(['autodetector','audet'],'set auto det } }, { - completer: function(context, arg, special){ - let filter = context.filter; - context.completions = completion( detectors, filter); - } + completer: function(context, arg){ + let filter = context.filter; + context.completions = completion(detectors, filter); + } } ); function listCharset(arg, current, list){ @@ -157,10 +157,10 @@ liberator.modules.commands.addUserCommand(['listencoding','lsenc'],'list all enc var arg = args.string == undefined ? args: args.string; listCharset(arg, liberator.modules.options.fileencoding, encodings); },{ - completer: function(context, arg, special){ - let filter = context.filter; - context.completions = completion( encodings, filter); - } + completer: function(context, arg){ + let filter = context.filter; + context.completions = completion(encodings, filter); + } } ); liberator.modules.commands.addUserCommand(['listdetector','lsdet'],'list all auto detectors', @@ -168,10 +168,10 @@ liberator.modules.commands.addUserCommand(['listdetector','lsdet'],'list all aut var arg = args.string == undefined ? args: args.string; listCharset(arg, liberator.modules.options.autodetector, detectors); },{ - completer: function(context, arg, special){ - let filter = context.filter; - context.completions = completion( detectors, filter); - } + completer: function(context, arg){ + let filter = context.filter; + context.completions = completion(detectors, filter); + } } ); -- cgit v1.2.3