From 936e3424ca38f90ed1806fe898b04ce52342b88f Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 3 Aug 2010 10:50:54 +0000 Subject: 半端な機能は削除 cabbr を使ってください。もっと便利だよ! git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38150 d0d07461-0603-4401-acd4-de1884942a52 --- twittperator.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'twittperator.js') diff --git a/twittperator.js b/twittperator.js index 6cbe5b7..2022760 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1530,11 +1530,10 @@ function loadPlugins() { // {{{ commands.addUserCommand(["tw[ittperator]"], "Twittperator command", function(args) { let bang = args.bang; - let arg = args.literalArg.replace(/%URL%/g, liberator.modules.buffer.URL) - .replace(/%TITLE%/g, liberator.modules.buffer.title); + let arg = args.literalArg; if (args.bang) { - let [subCmd] = findSubCommand(args.literalArg); + let [subCmd] = findSubCommand(arg); subCmd.action(args); } else { if (arg.length === 0) -- cgit v1.2.3