From d6b875f602e3646109f54fd3461b516b1585afea Mon Sep 17 00:00:00 2001 From: pekepeke Date: Wed, 26 Nov 2008 15:02:44 +0000 Subject: 2.0pre対応 refcontrol, autoproxychanger 追加 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@24976 d0d07461-0603-4401-acd4-de1884942a52 --- copy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'copy.js') diff --git a/copy.js b/copy.js index d58aafe..48a8942 100644 --- a/copy.js +++ b/copy.js @@ -91,9 +91,9 @@ commands.addUserCommand(['copy'],'Copy to clipboard', var templates = liberator.globalVariables.copy_templates.map(function(template) [template.label, liberator.modules.util.escapeString(template.value, '"')] ); - if (!context.filter){ context.items = templates; return; } + if (!context.filter){ context.completions = templates; return; } var candidates = []; - context.items = completion.filter(templates, context.filter, true); + context.completions = completion.filter(templates, context.filter, true); }, bang: true } -- cgit v1.2.3