diff options
author | anekos | 2010-08-03 23:07:16 +0000 |
---|---|---|
committer | anekos | 2010-08-03 23:07:16 +0000 |
commit | 0afdf97cb20f7c1f654864e7f26818793c7863be (patch) | |
tree | a046b7dcb3507a8d3f029921c9d4fc72451cdd39 | |
parent | 0d83311b33d22f96120791abed14ba7a61a912c9 (diff) | |
download | vimperator-plugins-0afdf97cb20f7c1f654864e7f26818793c7863be.tar.bz2 |
<> とかをアンエスケイプ
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38160 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-x | twittperator.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/twittperator.js b/twittperator.js index b40e4fd..2b6cbaa 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1405,6 +1405,8 @@ function loadPlugins() { // {{{ let (s = ("retweeted_status" in status) ? status.retweeted_status : status) func(s); + let ub = unescapeBrakets; + const Completers = { name: function (context, args) { context.completions = @@ -1412,11 +1414,11 @@ function loadPlugins() { // {{{ }, link: function (context, args) { context.completions = - history.filter(function (s) /https?:\/\//(s.text)).map(rt(function(s) [s.text, s])); + history.filter(function (s) /https?:\/\//(s.text)).map(rt(function(s) [ub(s.text), s])); }, text: function (context, args) { context.completions = - history.map(rt(function(s) [s.text, s])); + history.map(rt(function(s) [ub(s.text), s])); }, name_id: function (context, args) { context.completions = @@ -1424,7 +1426,7 @@ function loadPlugins() { // {{{ }, name_id_text: function (context, args) { context.completions = - history.map(rt(function(s) ["@" + s.user.screen_name + "#" + s.id + ": " + s.text, s])); + history.map(rt(function(s) ["@" + s.user.screen_name + "#" + s.id + ": " + ub(s.text), s])); } }; |