aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2010-07-31 10:20:56 +0000
committeranekos2010-07-31 10:20:56 +0000
commitf340e7d71a978c3d2c6fbacd577fcfa1c4f2c9c2 (patch)
treeff05b3335d3ff3f20a7596ea8529b64e32f9619a /twittperator.js
parent983c5cc909bc1366d898f8dcfa10ccd8eec3773c (diff)
downloadvimperator-plugins-f340e7d71a978c3d2c6fbacd577fcfa1c4f2c9c2.tar.bz2
おむつ
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38086 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-xtwittperator.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js
index 257a7d0..1516912 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -1370,6 +1370,8 @@
</div>;
};
+ let list = [];
+
if (args.bang && !/^[-+]/.test(args[0])) {
context.title = ["Name","Entry"];
list = history.map(function(s) ("retweeted_status" in s) ?
@@ -1436,7 +1438,6 @@
completer: let (getting) function(context, args) {
context.fork('File', 0, context, function (context) subCommandCompleter(context, args));
- let list = [];
let doGet = (expiredStatus || !(history && history.length)) && setting.autoStatusUpdate;
let matches = args.bang ? args.literalArg.match(/([-+?])/)