From bc71c3c87306aa937589053ccc539da7f1cf00e0 Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 25 Nov 2008 16:54:24 +0000 Subject: Follow CVS Head. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@24877 d0d07461-0603-4401-acd4-de1884942a52 --- lo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lo.js') diff --git a/lo.js b/lo.js index fb985bd..224b8d7 100644 --- a/lo.js +++ b/lo.js @@ -107,7 +107,7 @@ ], completer: function (context, arg, bang) { context.title = ['URL', 'Text Content']; - context.items = filteredLinks(context.filter).map(function (it) ([it.href, it.textContent])); + context.completions = filteredLinks(context.filter).map(function (it) ([it.href, it.textContent])); }, }, true @@ -154,7 +154,7 @@ lolinks = filteredLinks(last.filter); context.title = ['URL', 'Text Content']; context.advance(last.offset - last.caret); - context.items = lolinks.map(function (it, i) ([i + ',' + it.href, it.textContent])); + context.completions = lolinks.map(function (it, i) ([i + ',' + it.href, it.textContent])); } }, true -- cgit v1.2.3