diff options
author | anekos | 2010-08-03 10:50:54 +0000 |
---|---|---|
committer | anekos | 2010-08-03 10:50:54 +0000 |
commit | 936e3424ca38f90ed1806fe898b04ce52342b88f (patch) | |
tree | 764f57fc856334d12efda53a39562143418d4c1f | |
parent | 4500f0c30c7bad78f26e69449fd5e9e0c99a6bc2 (diff) | |
download | vimperator-plugins-936e3424ca38f90ed1806fe898b04ce52342b88f.tar.bz2 |
半端な機能は削除 cabbr を使ってください。もっと便利だよ!
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38150 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-x | twittperator.js | 5 |
1 files changed, 2 insertions, 3 deletions
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) |