Changeset 38486

Show
Ignore:
Timestamp:
09/19/10 08:05:18 (3 years ago)
Author:
anekos
Message:

トラッキングする語を変更できるようにサブコマンド追加

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/twittperator.js

    r38485 r38486  
    18341834        }, 
    18351835        completer: Completers.id() 
    1836       }) 
     1836      }), 
     1837      SubCommand({ 
     1838        command: ["track"], 
     1839        description: "Track the specified words.", 
     1840        action: function(arg) { 
     1841          TrackingStream.start(arg); 
     1842        }, 
     1843        completer: function (context, args) { 
     1844          if (setting.trackWords) 
     1845            context.completions = [setting.trackWords, "from global variable"]; 
     1846        } 
     1847      }), 
    18371848    ]; // }}} 
    18381849