aboutsummaryrefslogtreecommitdiffstats
path: root/lo.js
diff options
context:
space:
mode:
authoranekos2008-11-25 16:54:24 +0000
committeranekos2008-11-25 16:54:24 +0000
commitbc71c3c87306aa937589053ccc539da7f1cf00e0 (patch)
tree2c49400b75f3e18dcf92a4cf533b8d533415c40f /lo.js
parent5cdc58b63e6141f6ebeb2cab0beb62bb19752182 (diff)
downloadvimperator-plugins-bc71c3c87306aa937589053ccc539da7f1cf00e0.tar.bz2
Follow CVS Head.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@24877 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'lo.js')
-rw-r--r--lo.js4
1 files changed, 2 insertions, 2 deletions
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