aboutsummaryrefslogtreecommitdiffstats
path: root/matanico.js
diff options
context:
space:
mode:
authoranekos2009-08-27 12:37:51 +0000
committeranekos2009-08-27 12:37:51 +0000
commit9f691e05aae8b0ad1c4f3fe559b0f2f2c9559ea2 (patch)
tree689761603b8b70c9830913d57cfa5c6f5422787b /matanico.js
parentb17b6f377d2a877f8fa15bdd561e9d2f251208e6 (diff)
downloadvimperator-plugins-9f691e05aae8b0ad1c4f3fe559b0f2f2c9559ea2.tar.bz2
Follow HEAD
for http://vimperator.org/trac/gitweb/?p=liberator.git;a=commit;h=f20c2b315bb05c2e88d0c672f07dc229cc9267d2 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35099 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'matanico.js')
-rw-r--r--matanico.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/matanico.js b/matanico.js
index 1225a7f..48dea01 100644
--- a/matanico.js
+++ b/matanico.js
@@ -260,7 +260,7 @@ let scraper = new NicoScraper();
liberator.modules.commands.addUserCommand(
['matanico'],
'update Twitter status to current video/search page information and comment',
- function (args, special) {
+ function (args) {
let arg = args.string;
try {
// build post string -----
@@ -285,7 +285,7 @@ liberator.modules.commands.addUserCommand(
}
// ':matanico!' display the evaluated format.
- if (special) {
+ if (args.bang) {
liberator.modules.util.copyToClipboard(postString, true);
return;
}